RFR: 8352565: Add native method implementation of Reference.get() [v6]

Kim Barrett kbarrett at openjdk.org
Wed Jun 4 07:12:42 UTC 2025


On Fri, 30 May 2025 19:30:50 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

>> Much of the point of this change is to let us later remove the interpreter/c1
>> intrinsics for this function. I think what you are saying is that might be
>> tricky if `get()` is the intrinsic. So maybe I should just go ahead now with
>> making the native `get0()` be the intrinsic. I'll take a look at it and see
>> how widespread the renaming changes are.
>> 
>> If `get0()` is the intrinsic, then I think that referenced snippet from the
>> Compile ctor can go away? Rather than being changed to refer to the get0
>> intrinsic.
>
>> If get0() is the intrinsic, then I think that referenced snippet from the
> Compile ctor can go away? 
> 
> Yes.

OK, I've moved the intrinsification to get0.  It adds a fair number of files, but the changes are mostly trivial
renaming of "get" to "get0".

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24315#discussion_r2125849565


More information about the hotspot-dev mailing list