-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: repo-valhalla
-
Component/s: hotspot
We see massive failures of the following test in Valhalla with non-default VM options like '-XX:-UseCompressedOops -XX:-UseCompressedClassPointers -Xint' or '-XX:+UseZGC -Xint' (see attached log files):
test/hotspot/jtreg/runtime/valhalla/inlinetypes/field_layout/ValueFieldInheritanceTest.java
test/hotspot/jtreg/runtime/valhalla/inlinetypes/field_layout/FieldAlignmentTest.java
test/hotspot/jtreg/runtime/valhalla/inlinetypes/field_layout/NullMarkersTest.java
java.lang.NullPointerException: Cannot read field "nonStaticFields" because "<local4>" is null
at FieldLayoutAnalyzer.checkSubClasses(FieldLayoutAnalyzer.java:506)
at FieldLayoutAnalyzer.check(FieldLayoutAnalyzer.java:581)
at ValueFieldInheritanceTest.main(ValueFieldInheritanceTest.java:240)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)
test/hotspot/jtreg/runtime/valhalla/inlinetypes/field_layout/ValueFieldInheritanceTest.java
test/hotspot/jtreg/runtime/valhalla/inlinetypes/field_layout/FieldAlignmentTest.java
test/hotspot/jtreg/runtime/valhalla/inlinetypes/field_layout/NullMarkersTest.java
java.lang.NullPointerException: Cannot read field "nonStaticFields" because "<local4>" is null
at FieldLayoutAnalyzer.checkSubClasses(FieldLayoutAnalyzer.java:506)
at FieldLayoutAnalyzer.check(FieldLayoutAnalyzer.java:581)
at ValueFieldInheritanceTest.main(ValueFieldInheritanceTest.java:240)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)
- links to
-
Commit(lworld)
openjdk/valhalla/aa41ad4a
-
Review(lworld)
openjdk/valhalla/1214
There are no Sub-Tasks for this issue.