public class TestHeapSize extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
TestHeapSize() |
| Modifier and Type | Method and Description |
|---|---|
static void |
beforeClass() |
void |
testMutations() |
void |
testNativeSizes()
Test our hard-coded sizing of native java objects
|
void |
testObjectSize() |
void |
testReferenceSize() |
void |
testSizes()
Testing the classes that implements HeapSize and are a part of 0.20.
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public TestHeapSize()
public static void beforeClass() throws Exception
Exceptionpublic void testNativeSizes() throws IOException
IOExceptionpublic void testSizes() throws IOException
IOExceptionpublic void testMutations()
public void testReferenceSize()
public void testObjectSize() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.