Class VarHandleMarkHolder
java.lang.Object
io.perfmark.impl.MarkHolder
io.perfmark.java9.VarHandleMarkHolder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longprivate static final longprivate static final longprivate static final longprivate static final longprivate static final longprivate static final longprivate static final longprivate final long[]private longprivate static final VarHandleprivate static final longprivate static final VarHandleprivate final MarkRecorderRefprivate final intprivate final longprivate final long[]private static final longprivate static final longprivate static final longprivate static final longprivate static final longprivate static final longprivate static final longprivate static final VarHandleprivate final long[]private final String[]private final String[]Fields inherited from class MarkHolder
NO_MAX_MARKS -
Constructor Summary
ConstructorsConstructorDescriptionVarHandleMarkHolder(MarkRecorderRef markRecorderRef) VarHandleMarkHolder(MarkRecorderRef markRecorderRef, int maxEvents) -
Method Summary
Modifier and TypeMethodDescription(package private) voidattachKeyedTag(long gen, String name, long value) (package private) voidattachKeyedTag(long gen, String name, long value0, long value1) (package private) voidattachKeyedTag(long gen, String name, String value) (package private) void(package private) void(package private) void(package private) void(package private) voidlink(long gen, long linkId) intmaxMarks()read()read(boolean concurrentWrites) voidAttempts to remove all Marks in this mark holder.voidAttempts to remove all Marks for the calling thread.(package private) void(package private) void(package private) void(package private) voidstopAt(long gen, long nanoTime) (package private) void(package private) void(package private) voidMethods inherited from class MarkHolder
read
-
Field Details
-
GEN_MASK
private static final long GEN_MASK- See Also:
-
START_OP
private static final long START_OP- See Also:
-
START_S_OP
private static final long START_S_OP- See Also:
-
START_T_OP
private static final long START_T_OP- See Also:
-
STOP_OP
private static final long STOP_OP- See Also:
-
STOP_V_OP
private static final long STOP_V_OP- See Also:
-
STOP_T_OP
private static final long STOP_T_OP- See Also:
-
STOP_S_OP
private static final long STOP_S_OP- See Also:
-
EVENT_OP
private static final long EVENT_OP- See Also:
-
EVENT_T_OP
private static final long EVENT_T_OP- See Also:
-
EVENT_S_OP
private static final long EVENT_S_OP- See Also:
-
LINK_OP
private static final long LINK_OP- See Also:
-
ATTACH_T_OP
private static final long ATTACH_T_OP- See Also:
-
ATTACH_SS_OP
private static final long ATTACH_SS_OP- See Also:
-
ATTACH_SN_OP
private static final long ATTACH_SN_OP- See Also:
-
ATTACH_SNN_OP
private static final long ATTACH_SNN_OP- See Also:
-
IDX
-
STRINGS
-
LONGS
-
markRecorderRef
-
maxEvents
private final int maxEvents -
maxEventsMax
private final long maxEventsMax -
idx
private volatile long idx -
taskNames
-
tagNames
-
tagIds
private final long[] tagIds -
nanoTimes
private final long[] nanoTimes -
genOps
private final long[] genOps
-
-
Constructor Details
-
VarHandleMarkHolder
VarHandleMarkHolder(MarkRecorderRef markRecorderRef) -
VarHandleMarkHolder
VarHandleMarkHolder(MarkRecorderRef markRecorderRef, int maxEvents)
-
-
Method Details
-
startAt
-
startAt
-
startAt
-
link
void link(long gen, long linkId) -
stopAt
void stopAt(long gen, long nanoTime) -
stopAt
-
stopAt
-
stopAt
-
eventAt
-
eventAt
-
eventAt
-
attachTag
-
attachKeyedTag
-
attachKeyedTag
-
attachKeyedTag
-
resetForAll
public void resetForAll()Description copied from class:MarkHolderAttempts to remove all Marks in this mark holder.- Overrides:
resetForAllin classMarkHolder
-
read
- Specified by:
readin classMarkHolder
-
resetForThread
public void resetForThread()Description copied from class:MarkHolderAttempts to remove all Marks for the calling thread.- Overrides:
resetForThreadin classMarkHolder
-
read
-
maxMarks
public int maxMarks()- Overrides:
maxMarksin classMarkHolder
-