< prev index next >
src/hotspot/share/gc/g1/g1MonitoringSupport.cpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2011, 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.
--- 1,7 ----
/*
! * Copyright (c) 2011, 2019, 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.
*** 117,135 ****
// Counters for garbage collections
//
// name "collector.0". In a generational collector this would be the
// young generation collection.
_incremental_collection_counters =
! new CollectorCounters("G1 incremental collections", 0);
// name "collector.1". In a generational collector this would be the
// old generation collection.
_full_collection_counters =
! new CollectorCounters("G1 stop-the-world full collections", 1);
// name "collector.2". In a generational collector this would be the
// STW phases in concurrent collection.
_conc_collection_counters =
! new CollectorCounters("G1 stop-the-world phases", 2);
// "Generation" and "Space" counters.
//
// name "generation.1" This is logically the old generation in
// generational GC terms. The "1, 1" parameters are for
--- 117,135 ----
// Counters for garbage collections
//
// name "collector.0". In a generational collector this would be the
// young generation collection.
_incremental_collection_counters =
! new CollectorCounters("G1 incremental collection pauses", 0);
// name "collector.1". In a generational collector this would be the
// old generation collection.
_full_collection_counters =
! new CollectorCounters("G1 full collection pauses", 1);
// name "collector.2". In a generational collector this would be the
// STW phases in concurrent collection.
_conc_collection_counters =
! new CollectorCounters("G1 concurrent cycle pauses", 2);
// "Generation" and "Space" counters.
//
// name "generation.1" This is logically the old generation in
// generational GC terms. The "1, 1" parameters are for
< prev index next >