Class ObjectAllocationOutsideTlabHandler
java.lang.Object
io.opentelemetry.instrumentation.runtimemetrics.java17.internal.AbstractThreadDispatchingHandler
io.opentelemetry.instrumentation.runtimemetrics.java17.internal.memory.ObjectAllocationOutsideTlabHandler
- All Implemented Interfaces:
RecordedEventHandler,AutoCloseable,Consumer<RecordedEvent>,Predicate<RecordedEvent>
This class handles all non-TLAB allocation JFR events, and delegates them to the actual
per-thread aggregators
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
Constructor Summary
ConstructorsConstructorDescriptionObjectAllocationOutsideTlabHandler(io.opentelemetry.api.metrics.Meter meter, ThreadGrouper grouper) -
Method Summary
Modifier and TypeMethodDescriptioncreatePerThreadSummarizer(String threadName) JFR event name (e.g. jdk.ObjectAllocationInNewTLAB)Return theJfrFeaturethis handler is associated with.Methods inherited from class io.opentelemetry.instrumentation.runtimemetrics.java17.internal.AbstractThreadDispatchingHandler
acceptMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.opentelemetry.instrumentation.runtimemetrics.java17.internal.RecordedEventHandler
close, getPollingDuration, getThreshold, test
-
Constructor Details
-
ObjectAllocationOutsideTlabHandler
public ObjectAllocationOutsideTlabHandler(io.opentelemetry.api.metrics.Meter meter, ThreadGrouper grouper)
-
-
Method Details
-
getEventName
Description copied from interface:RecordedEventHandlerJFR event name (e.g. jdk.ObjectAllocationInNewTLAB)- Specified by:
getEventNamein interfaceRecordedEventHandler- Specified by:
getEventNamein classAbstractThreadDispatchingHandler- Returns:
- String representation of JFR event name
-
getFeature
Description copied from interface:RecordedEventHandlerReturn theJfrFeaturethis handler is associated with. -
createPerThreadSummarizer
- Specified by:
createPerThreadSummarizerin classAbstractThreadDispatchingHandler
-