Question regarding JVM crashes in GC

Mikael Gerdin mikael.gerdin at oracle.com
Wed Apr 5 08:00:20 UTC 2017


Hi Michael,

On 2017-04-05 09:11, Michael Rasmussen wrote:
> Ok
>
> Found Shipilev's fastdebug builds, and tried running with that
> (openjdk-jdk9-dev-fastdebug-2017-04-04.tar.gz).
>
> Using the fastdebug build and running with G1, the JVM crashes when
> calling System.gc(), with one of the following assertions:

Did you try out -XX:+Verify{Before/After}GC with G1? G1 has the most 
complex verification code so that might provide some more information.

/Mikael

>
> 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
>
> /Michael
>


More information about the hotspot-dev mailing list