RFR: 8295009: RISC-V: Interpreter intrinsify Thread.currentThread()
Fei Yang
fyang at openjdk.org
Fri Oct 14 04:02:59 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.
LGTM.
-------------
Marked as reviewed by fyang (Reviewer).
PR: https://git.openjdk.org/jdk/pull/10709
More information about the hotspot-dev
mailing list