On Tue, 9 Jun 2026 12:52:44 GMT, Chen Liang <[email protected]> wrote:
>> Update test to use Point with 2 Integers. >> >> It start crashing with >> make test JTREG=VALUE_CLASS_PLUGIN=true >> TEST=java/util/Arrays/ArraysEqCmpTest.java >> >> So it makes sense to integrate it to reproduce fix and as a regression test >> >> hs_err >> >> >> # >> # A fatal error has been detected by the Java Runtime Environment: >> # >> # Internal Error >> (/Users/lmesnik/ws/valhalla/main/open/src/hotspot/share/opto/library_call.cpp:2699), >> pid=45037, tid=36871 >> # assert(layout == LayoutKind::REFERENCE || layout == >> LayoutKind::NULL_FREE_NON_ATOMIC_FLAT || layout == >> LayoutKind::NULL_FREE_ATOMIC_FLAT || layout == >> LayoutKind::NULLABLE_ATOMIC_FLAT) failed: unexpected layoutKind 5 >> # >> # JRE version: OpenJDK Runtime Environment (28.0) (fastdebug build >> 28-internal-adhoc.lmesnik.open) >> # Java VM: OpenJDK 64-Bit Server VM (fastdebug >> 28-internal-adhoc.lmesnik.open, mixed mode, tiered, compressed oops, compact >> obj headers, g1 gc, bsd-aarch64) >> # Core dump will be written. Default location: core.45037 >> # >> # An error report file with more information is saved as: >> # >> /Users/lmesnik/ws/valhalla/main/open/build/macosx-aarch64-server-fastdebug/test-support/jtreg_test_jdk_java_util_Arrays_ArraysEqCmpTest_java/scratch/0/hs_err_pid45037.log >> [thread 42243 also had an error] >> [thread 29187 also had an error] >> # >> # Compiler replay data is saved as: >> # >> /Users/lmesnik/ws/valhalla/main/open/build/macosx-aarch64-server-fastdebug/test-support/jtreg_test_jdk_java_util_Arrays_ArraysEqCmpTest_java/scratch/0/replay_pid45037.log >> # >> # If you would like to submit a bug report, please visit: >> # https://bugreport.java.com/bugreport/crash.jsp >> # >> >> >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Looks okay since this test is already `@AsValueCLass` migrated. @liach, @bwhuang-us Thank you for review ------------- PR Comment: https://git.openjdk.org/valhalla/pull/2529#issuecomment-4662257081
