--- old/src/hotspot/share/gc/shared/gcCause.hpp 2018-12-03 17:47:13.151509374 +0100 +++ new/src/hotspot/share/gc/shared/gcCause.hpp 2018-12-03 17:47:12.990510524 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -78,6 +78,12 @@ _dcmd_gc_run, + _shenandoah_stop_vm, + _shenandoah_allocation_failure_evac, + _shenandoah_concurrent_gc, + _shenandoah_traversal_gc, + _shenandoah_upgrade_to_full_gc, + _z_timer, _z_warmup, _z_allocation_rate, @@ -121,7 +127,8 @@ // _allocation_failure is the generic cause a collection for allocation failure // _adaptive_size_policy is for a collecton done before a full GC return (cause == GCCause::_allocation_failure || - cause == GCCause::_adaptive_size_policy); + cause == GCCause::_adaptive_size_policy || + cause == GCCause::_shenandoah_allocation_failure_evac); } // Return a string describing the GCCause.