< prev index next >
src/hotspot/share/gc/shared/gcCause.hpp
Print this page
rev 52710 : Upstream/backport Shenandoah to JDK11u
*** 1,7 ****
/*
! * Copyright (c) 2002, 2015, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 76,85 ****
--- 76,91 ----
_g1_inc_collection_pause,
_g1_humongous_allocation,
_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,
_z_allocation_stall,
_z_proactive,
*** 119,129 ****
// Causes for collection of the young generation
inline static bool is_allocation_failure_gc(GCCause::Cause cause) {
// _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);
}
// Return a string describing the GCCause.
static const char* to_string(GCCause::Cause cause);
};
--- 125,136 ----
// Causes for collection of the young generation
inline static bool is_allocation_failure_gc(GCCause::Cause cause) {
// _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::_shenandoah_allocation_failure_evac);
}
// Return a string describing the GCCause.
static const char* to_string(GCCause::Cause cause);
};
< prev index next >