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

RISC-V: Interpreter intrinsify Thread.currentThread()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 20
    • 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

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

              Created:
              Updated:
              Resolved: