On Fri, 20 Mar 2026 15:51:27 GMT, Frederic Parain <[email protected]> wrote:

> Small fix to use the right method for long fields when re-creating a buffered 
> value from a scalarized form.

Good catch!

src/hotspot/share/oops/inlineKlass.cpp line 430:

> 428:     }
> 429:     case T_LONG: {
> 430:       new_vt->long_field_put(off,  *(jlong*)loc);

Suggestion:

      new_vt->long_field_put(off, *(jlong*)loc);

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

Marked as reviewed by chagedorn (Committer).

PR Review: 
https://git.openjdk.org/valhalla/pull/2250#pullrequestreview-3990300852
PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2250#discussion_r2973746331

Reply via email to