RISC-V: Interpreter intrinsify Thread.currentThread()

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 20
    • Component/s: hotspot
    • 20
    • b20

      Calling intrinsic version of Thread.currentThread() in interpreter is ~30% faster on the Unmatched board:
      Before:
      Benchmark Mode Cnt Score Error Units
      MyBenchmark.testCurrentThread avgt 5 4665.765 ± 212.906 ns/op
      After:
      Benchmark Mode Cnt Score Error Units
      MyBenchmark.testCurrentThread avgt 5 3381.415 ± 223.005 ns/op

            Assignee:
            Yadong Wang
            Reporter:
            Yadong Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: