public interface UntetheredCodeInfo
extends org.graalvm.word.PointerBase
CodeInfo
, which can be released by the GC at ANY
safepoint. Before it is possible to access any data, it is necessary to convert a pointer of this
type to a CodeInfo
pointer using CodeInfoAccess.acquireTether(com.oracle.svm.core.code.UntetheredCodeInfo)
and
CodeInfoAccess.convert(com.oracle.svm.core.code.UntetheredCodeInfo, java.lang.Object)
. For more details, refer to the documentation of
CodeInfoAccess
.
NEVER do a direct cast from UntetheredCodeInfo
to CodeInfo
.
If it is necessary to access data without acquiring the tether, then call the static methods of
the class UntetheredCodeInfoAccess
from uninterruptible code.