On Mon, 23 Nov 2026 08:47:43 GMT, Alan Bateman <[email protected]> wrote:

>> putLongOnHeap and getLongOnHeap ignored valueOffset computed during setup. 
>> Fixed as suggested by @AlanBateman 
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> @cushon You might recall you changed this micro to use internal Unsafe as 
> part of your java diagnostics work, are you okay if we switch this back? We 
> created this benchmark for JEP 471 to test sun.misc.Unsafe and the overhead 
> of the checks so I'd prefer if we could switch it back.

@AlanBateman yes, switching this back looks good to me, thanks. The switch was 
made to prepare for [JDK-8349846](https://bugs.openjdk.org/browse/JDK-8349846) 
which isn't going to happen, https://github.com/openjdk/jdk/pull/23686 already 
switched another use of `jdk.internal.misc.Unsafe` back to `sun.misc.Unsafe`

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

PR Comment: https://git.openjdk.org/jdk/pull/33993#issuecomment-7097279219

Reply via email to