While doing some other work using only interpreter I notice this method was very slow.
Instead of going to native, creating a JNI local and returning that back to Java, lets just load the oop.
Calling Thread.currentThread() in interpreter is 8x faster on my box with such intrinsic.
Instead of going to native, creating a JNI local and returning that back to Java, lets just load the oop.
Calling Thread.currentThread() in interpreter is 8x faster on my box with such intrinsic.
- relates to
-
JDK-8294359 Interpreter(AArch64) intrinsify Thread.currentThread()
-
- Resolved
-
-
JDK-8350266 [PPC64] Interpreter: intrinsify Thread.currentThread()
-
- Resolved
-
-
JDK-8350716 [s390] intrinsify Thread.currentThread()
-
- Resolved
-