APIdia Launch Partner
Top Fields Constructors Methods
jdk.internal.event

public Class FinalFieldMutationEvent

extends Event
Class Inheritance
Imports
java.lang.reflect.Field

Field Summary

Modifier and TypeField and Description
public Class<?>
public String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static boolean
public static void
offer(Field root)

We throttle FinalFieldMutation JFR events by generating only one event per field during each JFR epoch.

private static boolean
Inherited from jdk.internal.event.Event:
begincommitendisEnabledsetshouldCommit

Field Detail

declaringClassback to summary
public Class<?> declaringClass
fieldNameback to summary
public String fieldName

Constructor Detail

FinalFieldMutationEventback to summary
public FinalFieldMutationEvent()

Method Detail

enabledback to summary
public static boolean enabled()
offerback to summary
public static void offer(Field root)

We throttle FinalFieldMutation JFR events by generating only one event per field during each JFR epoch. An event is emitted if enabled, the epoch encoded in the root instance differs from the current epoch, and a thread exclusively updates to the current epoch.

tryUpdateEpochback to summary
private static boolean tryUpdateEpoch(Field root)