On Tue, 9 Sep 2025 19:09:00 GMT, Coleen Phillimore <[email protected]> wrote:

> The oop_size() function can't get the Klass from the oop with 
> UseCompactObjectHeaders because there's some GC code that moves the klass out 
> of the markWord somewhere.  Pass layout_helper() from the already fetched 
> klass instead and disable the assert, like objArrayKlass::oop_size.
> Testing with tier1-4 in progress.

This pull request has now been integrated.

Changeset: 0817750d
Author:    Coleen Phillimore <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/0817750d434463a606523ac03b5461802f0328e1
Stats:     10 lines in 4 files changed: 4 ins; 0 del; 6 mod

8366794: [lworld] "assert(!is_null(v)) failed: narrow klass value can never be 
zero" with -Xint and COH

Reviewed-by: fparain

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

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

Reply via email to