RFR: 8330008: [s390x] Test bit "in-memory" in case of DiagnoseSyncOnValueBasedClasses
Martin Doerr
mdoerr at openjdk.org
Fri Apr 19 15:08:57 UTC 2024
On Thu, 18 Apr 2024 06:08:42 GMT, Amit Kumar <amitkumar at openjdk.org> wrote:
> I have done testing with `DiagnoseSyncOnValueBasedClasses=1`.
>
> This test failure I got, but it's failing on master branch as well if we are using same argument:
>
> ```
> STDOUT:
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # Internal Error (/home/amit/mr/jdk/src/hotspot/share/runtime/synchronizer.cpp:485), pid=3628970, tid=3628992
> # fatal error: Synchronizing on object 0x00000000ffe583c8 of klass java.lang.Integer at SplitIfSharedFastLockBehindCastPP.test2(SplitIfSharedFastLockBehindCastPP.java:92)
> #
> # JRE version: OpenJDK Runtime Environment (23.0) (fastdebug build 23-internal-adhoc.amit.jdk)
> # Java VM: OpenJDK 64-Bit Server VM (fastdebug 23-internal-adhoc.amit.jdk, mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-s390x)
> # Problematic frame:
> # V [libjvm.so+0x12b4b8c] ObjectSynchronizer::handle_sync_on_value_based_class(Handle, JavaThread*)+0x944
> #
> # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/amit/mr/jdk/build/linux-s390x-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_loopopts_SplitIfSharedFastLockBehindCastPP_java/scratch/0/core.3628970)
> #
> # An error report file with more information is saved as:
> # /home/amit/mr/jdk/build/linux-s390x-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_loopopts_SplitIfSharedFastLockBehindCastPP_java/scratch/0/hs_err_pid3628970.log
> #
> # If you would like to submit a bug report, please visit:
> # https://bugreport.java.com/bugreport/crash.jsp
> #
> ```
That should get investigated in a new JBS issue.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18709#issuecomment-2066772595
More information about the hotspot-dev
mailing list