Integrated: 8352565: Add native method implementation of Reference.get()
Kim Barrett
kbarrett at openjdk.org
Wed Jun 25 18:24:46 UTC 2025
On Sat, 29 Mar 2025 21:47:18 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> Please review this change which adds a native method providing the
> implementation of Reference::get. Referece::get is an intrinsic candidate, so
> this native method implementation is only used when the intrinsic is not.
>
> Currently there is intrinsic support by the interpreter, C1, C2, and graal,
> which are always used. With this change we can later remove all the
> per-platform interpreter intrinsic implementations, and might also remove the
> C1 intrinsic implementation.
>
> Testing:
> (1) mach5 tier1-6 normal (so using all the existing intrinsics).
> (2) mach5 tier1-6 with interpreter and C1 Reference::get intrinsics disabled.
This pull request has now been integrated.
Changeset: 56c75453
Author: Kim Barrett <kbarrett at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/56c75453cd69e80b9411b4e1794c953998406342
Stats: 247 lines in 20 files changed: 207 ins; 11 del; 29 mod
8352565: Add native method implementation of Reference.get()
Reviewed-by: vlivanov, tschatzl, lmesnik
-------------
PR: https://git.openjdk.org/jdk/pull/24315
More information about the hotspot-dev
mailing list