On Mon, 1 Jun 2026 10:25:13 GMT, Quan Anh Mai <[email protected]> wrote:

> Hi,
> 
> Thanks a lot to @TobiHartmann for the analysis. The issue here is that a 
> strict final field can belong to an abstract class, which triggers an assert 
> when we call `toop->is_instptr()->exact_klass()`. What we really what is to 
> check if the allocation class is unrelated to the access, this PR fixes that.
> 
> Please take a look and leave your reviews, thanks a lot.
> 
> ---------
> - [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: 39e74d02
Author:    Quan Anh Mai <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/39e74d029fe93cb8c6056b6d21a71bc154b6905a
Stats:     83 lines in 2 files changed: 81 ins; 0 del; 2 mod

8384805: [lworld] assert(klass_is_exact()) under 
MemNode::optimize_simple_memory_chain

Reviewed-by: thartmann

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

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

Reply via email to