On Fri, 20 Nov 2026 06:00:28 GMT, Ekaterina Pavlova <[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).

This pull request has now been integrated.

Changeset: c3b9d08d
Author:    Ekaterina Pavlova <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/c3b9d08dfdca3c8c3c6c93b80b7a675401b09673
Stats:     6 lines in 1 file changed: 2 ins; 0 del; 4 mod

8395980: org.openjdk.bench.sun.misc.UnsafeOps.putLongOnHeap crashes with 
"assert(!is_null(v)) failed: narrow klass value can never be zero"

Reviewed-by: alanb, vklang

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

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

Reply via email to