Top Description Fields Constructors Methods
jdk.jfr.internal.periodic

pack-priv final Class JVMEventTask

extends EventTask
Class Inheritance
Imports
java.util.concurrent.locks.Lock, .ReentrantLock, jdk.jfr.internal.JVM, .PlatformEventType

Task for periodic events defined in the JVM.

This class guarantees that only one event can execute in native at a time.

Field Summary

Modifier and TypeField and Description
private static final Lock

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
execute(long timestamp, PeriodicType periodicType)

Implements abstract jdk.jfr.internal.periodic.PeriodicTask.execute.

Inherited from jdk.jfr.internal.periodic.EventTask:
fetchPeriodgetEventTypeisSchedulable

Field Detail

lockback to summary
private static final Lock lock

Constructor Detail

JVMEventTaskback to summary
public JVMEventTask(PlatformEventType eventType)

Method Detail

executeback to summary
public void execute(long timestamp, PeriodicType periodicType)

Implements abstract jdk.jfr.internal.periodic.PeriodicTask.execute.

Annotations
@Override