On Mon, 20 Apr 2026 08:34:41 GMT, Anton Seoane Ampudia <[email protected]> 
wrote:

> This PR addresses a wrong register being passed to the G1 post barrier in 
> `g1StoreLSpecialOneOopOff4`.
> 
> This is a typo, as the current code extracts the 4 bytes that contain a 
> narrowOop, decodes them into a full oop in `tmp2`, and then does not use 
> them. Instead, the 8 byte value payload is passed as the `new_value` oop.
> 
> **Testing:** tiers 1-3, compiler stress tests
> 
> ---------
> - [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: 8b2263f3
Author:    Anton Seoane Ampudia <[email protected]>
Committer: Paul Hübner <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/8b2263f38bdc38b7d219d9eb813ceea1311077b2
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8382421: [lworld] g1StoreLSpecialOneOopOff4 pass wrong new_value to post barrier

Reviewed-by: qamai, thartmann, stefank

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

PR: https://git.openjdk.org/valhalla/pull/2337

Reply via email to