If ThreadInVMfromNative has a ResetNoHandleMark, then all these places that make the transition do not have to add this.
JVM code that is in native state has a NoHandleMark because having Handles and oops are unsafe, but when the code transitions to the VM, we can now have Handles.
This cleans up a lot of these call sites.
(Splitting this out of the linked bug).
JVM code that is in native state has a NoHandleMark because having Handles and oops are unsafe, but when the code transitions to the VM, we can now have Handles.
This cleans up a lot of these call sites.
(Splitting this out of the linked bug).
- relates to
-
JDK-8258032 Reconsider LEAF entry restrictions
-
- Closed
-