Withdrawn: 8258032: Reconsider LEAF entry restrictions

Coleen Phillimore coleenp at openjdk.java.net
Wed Jan 6 20:03:05 UTC 2021


On Fri, 18 Dec 2020 19:38:09 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This change allows JRT_LEAF functions to create Handles because it doesn't need them but some code inside the VM needs Handles.  There's a NoSafepointVerifier in JRT_LEAF functions.
> The JNI_LEAF and JVM_LEAF functions have NoHandleMark (so you can't create handles) but the transition ThreadInVMfromNative will reenable the HandleMarks, so that all this code doesn't have to do it itself.
> Tested with tier1-6.

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.java.net/jdk/pull/1846


More information about the serviceability-dev mailing list