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

Coleen Phillimore coleenp at openjdk.org
Wed Sep 10 02:07:49 UTC 2025


On Tue, 9 Sep 2025 19:09:00 GMT, Coleen Phillimore <coleenp at openjdk.org> 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.

Thanks Fred.  Testing done and greenish.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1557#issuecomment-3272931735


More information about the valhalla-dev mailing list