| Package | Description |
|---|---|
| org.github.jamm |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FieldAndClassFilter
Filter for fields and classes.
|
| Modifier and Type | Field and Description |
|---|---|
static FieldFilter |
Filters.IGNORE_CLEANER_FIELDS
Filter excluding some of the fields from sun.misc.Cleaner as they should not be taken into account.
|
static FieldFilter |
Filters.IGNORE_NON_STRONG_REFERENCES
Filter excluding all the Reference's fields and the
head field of ReferenceQueue. |
static FieldFilter |
Filters.IGNORE_OUTER_CLASS_REFERENCES
Filter excluding the outer class reference from non-static inner classes.
|
static FieldFilter |
Filters.IGNORE_STATIC_AND_PRIMITIVE_FIELDS
Filter excluding static and primitive fields
|
static FieldFilter |
Filters.IGNORE_THREAD_FIELDS
Filter excluding the
group field from thread classes as that field holds the references to all the other threads from the group to which the thread belongs. |
| Modifier and Type | Method and Description |
|---|---|
static FieldFilter |
Filters.getFieldFilters(boolean ignoreKnownSingletons,
boolean ignoreOuterClassReference,
boolean ignoreNonStrongReferences) |
| Constructor and Description |
|---|
MemoryMeter(MemoryMeterStrategy strategy,
FieldAndClassFilter classFilter,
FieldFilter fieldFilter,
MemoryMeterListener.Factory listenerFactory)
Create a new
MemoryMeter instance from the different component it needs to measure object graph. |
Copyright © 2023. All rights reserved.