Interpreter(x64) intrinsify Thread.currentThread()

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 19
    • Affects Version/s: 19
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: