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

RISC-V: Interpreter intrinsify Thread.currentThread()

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 20
    • 20
    • hotspot
    • 20
    • b20

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: