public static interface HollowConsumer.ObjectLongevityDetector
Modifier and Type | Field and Description |
---|---|
static HollowConsumer.ObjectLongevityDetector |
DEFAULT_DETECTOR |
Modifier and Type | Method and Description |
---|---|
void |
staleReferenceExistenceDetected(int count)
Stale reference detection hint.
|
void |
staleReferenceUsageDetected(int count)
Stale reference USAGE detection.
|
static final HollowConsumer.ObjectLongevityDetector DEFAULT_DETECTOR
void staleReferenceExistenceDetected(int count)
If a nonzero value is reported, then stale references to Hollow objects may be cached somewhere in your codebase.
This signal can be noisy, and a nonzero value indicates that some reference to stale data exists somewhere.
count
- the count of stale referencesvoid staleReferenceUsageDetected(int count)
If a nonzero value is reported, then stale references to Hollow objects are being accessed from somewhere in your codebase.
This signal is noiseless, and a nonzero value indicates that some reference to stale data is USED somewhere.
count
- the count of stale references