-
Bug
-
Resolution: Fixed
-
P4
-
repo-valhalla
This is discovered by valhalla-tier3 when running runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java#id3
Excerpt from the mach5 log file:
----------System.err:(45/3391)----------
TEST FAILED: Error processing option HeapBaseMinAddress with valid value '-server -XX:+UseG1GC -XX:HeapBaseMinAddress=2147483648'! JVM output reports a fatal error. JVM exited with code 134 [0x86]!
stdout content[# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/oop.inline.hpp:177
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (open/src/hotspot/share/oops/oop.inline.hpp:177), pid=14721, tid=14724
# assert(((oopDesc*)mem)->klass() == klass) failed: failed oopDesc::klass() encode/decode
#
# JRE version: (13.0) (fastdebug build )
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 13-valhalla+0-171, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x12fdd15] MemAllocator::finish(HeapWordImpl**) const+0x2a5
I can easily reproduce on my Linux box with the following command.
$ java -Xint -server -Xmx1024m -XX:+UseG1GC -XX:HeapBaseMinAddress=2147483648
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/oop.inline.hpp:177
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/iklam/jdk/valhalla/open/src/hotspot/share/oops/oop.inline.hpp:177), pid=7928, tid=7929
# assert(((oopDesc*)mem)->klass() == klass) failed: failed oopDesc::klass() encode/decode
#
# JRE version: (13.0) (slowdebug build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (slowdebug 13-internal+0-adhoc.iklam.open, interpreted mode, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1942cc7] oopDesc::release_set_klass(HeapWordImpl**, Klass*)+0x19f
Excerpt from the mach5 log file:
----------System.err:(45/3391)----------
TEST FAILED: Error processing option HeapBaseMinAddress with valid value '-server -XX:+UseG1GC -XX:HeapBaseMinAddress=2147483648'! JVM output reports a fatal error. JVM exited with code 134 [0x86]!
stdout content[# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/oop.inline.hpp:177
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (open/src/hotspot/share/oops/oop.inline.hpp:177), pid=14721, tid=14724
# assert(((oopDesc*)mem)->klass() == klass) failed: failed oopDesc::klass() encode/decode
#
# JRE version: (13.0) (fastdebug build )
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 13-valhalla+0-171, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x12fdd15] MemAllocator::finish(HeapWordImpl**) const+0x2a5
I can easily reproduce on my Linux box with the following command.
$ java -Xint -server -Xmx1024m -XX:+UseG1GC -XX:HeapBaseMinAddress=2147483648
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/oop.inline.hpp:177
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/iklam/jdk/valhalla/open/src/hotspot/share/oops/oop.inline.hpp:177), pid=7928, tid=7929
# assert(((oopDesc*)mem)->klass() == klass) failed: failed oopDesc::klass() encode/decode
#
# JRE version: (13.0) (slowdebug build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (slowdebug 13-internal+0-adhoc.iklam.open, interpreted mode, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1942cc7] oopDesc::release_set_klass(HeapWordImpl**, Klass*)+0x19f
- duplicates
-
JDK-8225526 [lworld] runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java#id3 asserts
-
- Closed
-