Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -927,8 +927,10 @@ JavaType lookupTypeInternal(String name, HotSpotResolvedObjectType accessingType
/**
* Gets the {@code jobject} value wrapped by {@code peerObject}. The returned value is
* a JNI local reference whose lifetime is scoped by the nearest Java caller (from
* HotSpot's perspective). The current thread's state must be {@code _thread_in_native}.
* A call from the JVMCI shared library (e.g. libgraal) is in such a state.
* HotSpot's perspective). You can use {@code PushLocalFrame} and {@code PopLocalFrame} to
* shorten the lifetime of the reference. The current thread's state must be
* {@code _thread_in_native}. A call from the JVMCI shared library (e.g. libgraal) is in such
* a state.
*
* @param peerObject a reference to an object in the HotSpot heap
* @return the {@code jobject} value unpacked from {@code peerObject}
Expand Down