RFR: 8295009: RISC-V: Interpreter intrinsify Thread.currentThread()
Aleksey Shipilev
shade at openjdk.org
Fri Oct 14 06:13:04 UTC 2022
On Fri, 14 Oct 2022 02:32:28 GMT, Yadong Wang <yadongwang at openjdk.org> wrote:
> 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
>
> Tier1 and jdk_loom have been tested on unmatched.
Looks fine.
-------------
Marked as reviewed by shade (Reviewer).
PR: https://git.openjdk.org/jdk/pull/10709
More information about the hotspot-dev
mailing list