public final class JFREventProvider extends Object implements EventProvider
EventProvider
. This implementation is used when Flight Recorder
is turned on.Modifier and Type | Class and Description |
---|---|
static class |
JFREventProvider.JFRCompilationEvent
A JFR compilation event.
|
static class |
JFREventProvider.JFRCompilerFailureEvent
A JFR compiler failure event.
|
EventProvider.CompilationEvent, EventProvider.CompilerFailureEvent, EventProvider.InstantEvent, EventProvider.TimedEvent
Modifier and Type | Field and Description |
---|---|
private boolean |
enabled |
Constructor and Description |
---|
JFREventProvider() |
Modifier and Type | Method and Description |
---|---|
EventProvider.CompilationEvent |
newCompilationEvent()
Creates a new
EventProvider.CompilationEvent . |
EventProvider.CompilerFailureEvent |
newCompilerFailureEvent()
Creates a new
EventProvider.CompilerFailureEvent . |
private static com.oracle.jrockit.jfr.EventToken |
registerEvent(com.oracle.jrockit.jfr.Producer producer,
Class<?> c)
Register an event class with the
Producer . |
private final boolean enabled
public JFREventProvider()
private static com.oracle.jrockit.jfr.EventToken registerEvent(com.oracle.jrockit.jfr.Producer producer, Class<?> c)
Producer
.c
- event classevent token
public EventProvider.CompilationEvent newCompilationEvent()
EventProvider
EventProvider.CompilationEvent
.newCompilationEvent
in interface EventProvider
public EventProvider.CompilerFailureEvent newCompilerFailureEvent()
EventProvider
EventProvider.CompilerFailureEvent
.newCompilerFailureEvent
in interface EventProvider