Integrated: 8282883: Use JVM_LEAF to avoid ThreadStateTransition for some simple JVM entries

Yi Yang yyang at openjdk.java.net
Fri Mar 11 02:30:42 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.

This pull request has now been integrated.

Changeset: a5a1a32d
Author:    Yi Yang <yyang at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a5a1a32db65b98f0d7bae20cf054be2fbbf2cf3a
Stats:     8 lines in 1 file changed: 0 ins; 0 del; 8 mod

8282883: Use JVM_LEAF to avoid ThreadStateTransition for some simple JVM entries

Reviewed-by: dholmes, shade

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

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


More information about the hotspot-runtime-dev mailing list