RFR: 8282883: Use JVM_LEAF to avoid ThreadStateTransition for some simple JVM entries
David Holmes
dholmes at openjdk.java.net
Thu Mar 10 04:40:46 UTC 2022
On Wed, 9 Mar 2022 15:28:29 GMT, Yi Yang <yyang at openjdk.org> wrote:
> Some existing JVM_ENTRY routines are behavioral simple, they do not lock, GC or throw exceptions, we could use JVM_LEAF instead of JVM_ENTRY, to avoid ThreadStateTransition and safepoint checks.
Hi Yi,
I agree these all look like they are completely safe to be LEAF functions.
Thanks,
David
-------------
Marked as reviewed by dholmes (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/7760
More information about the hotspot-runtime-dev
mailing list