[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-hotspot-runtime-dev
Subject: Integrated: 8264337: VM crashed when -XX:+VerifySharedSpaces
From: Yi Yang <yyang () openjdk ! java ! net>
Date: 2021-03-30 7:22:40
Message-ID: FqPaBIB0RA1wTqorRzgXk6Gmq4djhv-yuae_G577K4w=.5db5b7d4-63f1-4009-9cea-693f08a94f63 () github ! com
[Download RAW message or body]
On Mon, 29 Mar 2021 15:27:55 GMT, Yi Yang <yyang@openjdk.org> wrote:
> `java -XX:+VerifySharedSpaces -version` reports an internal error that would crash \
> VM:
> [0.113s][error][cds] relocation bitmap CRC error
> [0.114s][error][cds] relocation bitmap CRC error
> # To suppress the following error report, specify this argument
> # after -XX: or in .hotspotrc: SuppressErrorAt=/javaClasses.inline.hpp:215
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # Internal Error (/home/qingfeng.yy/openjdk16_so_warning/jdk/src/hotspot/share/classfile/javaClasses.inline.hpp:215), \
> pid=75241, tid=75242 # assert(java_lang_Class::is_instance(java_class)) failed: \
> must be a Class object #
> # JRE version: (17.0) (slowdebug build )
> # Java VM: OpenJDK 64-Bit Server VM (slowdebug 17-internal+0-adhoc.qingfengyy.jdk, \
> mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, \
> linux-amd64) # Problematic frame:
> # V [libjvm.so+0x697d19] java_lang_Class::as_Klass(oopDesc*)+0x29
> #
> # No core dump will be written. Core dumps have been disabled. To enable core \
> dumping, try "ulimit -c unlimited" before starting Java again #
> # An error report file with more information is saved as:
> # /home/qingfeng.yy/openjdk16_so_warning/jdk/build/linux-x86_64-server-slowdebug/images/jdk/bin/hs_err_pid75241.log
> #
> #
> The gut of this problem is that the calculation of crc32 for the CDS archive is \
> inconsistent between dumptime and runtime, this will cause subsequent steps to \
> deviate from the desired path one after another, eventually leading to an internal \
> error that crashes the VM.
> All tests under hotspot/jtreg/runtime/cds are passed(excepts those problem-listed) \
> with slowdebug mode.
This pull request has now been integrated.
Changeset: bcdf4694
Author: Yi Yang <yyang@openjdk.org>
Committer: Aleksey Shipilev <shade@openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/bcdf4694
Stats: 45 lines in 2 files changed: 44 ins; 0 del; 1 mod
8264337: VM crashed when -XX:+VerifySharedSpaces
Reviewed-by: minqi, ccheung, shade
-------------
PR: https://git.openjdk.java.net/jdk/pull/3244
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic