Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8278793

Interpreter(x64) intrinsify Thread.currentThread()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 19
    • hotspot
    • None
    • b03

      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.

            rehn Robbin Ehn
            rehn Robbin Ehn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: