-
Enhancement
-
Resolution: Duplicate
-
P3
-
14
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8242650 | 11.0.7-oracle | Vladimir Kozlov | P3 | Resolved | Fixed |
In a context of a native JVMCI compiler we need an access to JNIEnv of the compiler thread to be able to define a class for JVMCI compiler MXBean and register the MXBean into MBeanServer.
The proposed solution adds a HotSpotJVMCIRuntime.getCurrentJavaThread() method which returns the address of the HotSpot JavaThread C++ object for the current thread or 0L if called from an unattached JVMCI shared library thread.
The proposed solution adds a HotSpotJVMCIRuntime.getCurrentJavaThread() method which returns the address of the HotSpot JavaThread C++ object for the current thread or 0L if called from an unattached JVMCI shared library thread.
- backported by
-
JDK-8242650 [JVMCI] Add a getter of an address of current JavaThread into HotSpotJVMCIRuntime.
-
- Resolved
-
- duplicates
-
JDK-8232904 Update JVMCI
-
- Resolved
-