Integrated: 8295009: RISC-V: Interpreter intrinsify Thread.currentThread()

Yadong Wang yadongwang at openjdk.org
Sun Oct 16 10:41:06 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.

This pull request has now been integrated.

Changeset: d3781ac8
Author:    Yadong Wang <yadongwang at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d3781ac8a38943d8a20304e770b01d5418ee33d0
Stats:     15 lines in 4 files changed: 11 ins; 0 del; 4 mod

8295009: RISC-V: Interpreter intrinsify Thread.currentThread()

Reviewed-by: fyang, shade

-------------

PR: https://git.openjdk.org/jdk/pull/10709


More information about the hotspot-dev mailing list