Question regarding JVM crashes in GC

Michael Rasmussen michael.rasmussen at
Wed Apr 5 07:11:00 UTC 2017


Found Shipilev's fastdebug builds, and tried running with that

Using the fastdebug build and running with G1, the JVM crashes when
calling System.gc(), with one of the following assertions:

Internal Error (hotspot/src/share/vm/gc/serial/markSweep.inline.hpp:61)
assert(is_archive_object(obj) || new_obj != __null || obj->mark() ==
markOopDesc::prototype() || (UseBiasedLocking &&
obj->mark()->has_bias_pattern())) failed: should be forwarded

Internal Error (hotspot/src/share/vm/gc/serial/markSweep.inline.hpp:53)
assert(Universe::heap()->is_in(obj)) failed: should be in heap

Internal Error (hotspot/src/share/vm/gc/serial/markSweep.inline.hpp:65)
assert(Universe::heap()->is_in_reserved(new_obj)) failed: should be in
object space


More information about the hotspot-dev mailing list