Package io.perfmark.impl
Class Storage.MarkHolderAndHandle
- java.lang.Object
-
- io.perfmark.impl.Storage.MarkHolderAndHandle
-
- Enclosing class:
- Storage
public static final class Storage.MarkHolderAndHandle extends java.lang.ObjectThis class is needed to work around a race condition where a newly created MarkHolder could be GC'd before the caller ofStorage.allocateMarkHolder()can consume the results. The provided MarkHolder is strongly reachable.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Storage.MarkHolderHandlehandle()MarkHoldermarkHolder()
-
-
-
Method Detail
-
markHolder
public MarkHolder markHolder()
-
handle
public Storage.MarkHolderHandle handle()
-
-