1 /* |
1 /* |
2 * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
116 |
116 |
117 cname = PerfDataManager::counter_name(name_space(), "avgBaseFootprint"); |
117 cname = PerfDataManager::counter_name(name_space(), "avgBaseFootprint"); |
118 _avg_base_footprint = PerfDataManager::create_variable(SUN_GC, cname, |
118 _avg_base_footprint = PerfDataManager::create_variable(SUN_GC, cname, |
119 PerfData::U_Bytes, (jlong) ps_size_policy()->avg_base_footprint()->average(), CHECK); |
119 PerfData::U_Bytes, (jlong) ps_size_policy()->avg_base_footprint()->average(), CHECK); |
120 |
120 |
121 cname = PerfDataManager::counter_name(name_space(), "gcTimeLimitExceeded"); |
|
122 _gc_overhead_limit_exceeded_counter = |
|
123 PerfDataManager::create_variable(SUN_GC, cname, |
|
124 PerfData::U_Events, ps_size_policy()->gc_overhead_limit_exceeded(), CHECK); |
|
125 |
|
126 cname = PerfDataManager::counter_name(name_space(), "liveAtLastFullGc"); |
121 cname = PerfDataManager::counter_name(name_space(), "liveAtLastFullGc"); |
127 _live_at_last_full_gc_counter = |
122 _live_at_last_full_gc_counter = |
128 PerfDataManager::create_variable(SUN_GC, cname, |
123 PerfDataManager::create_variable(SUN_GC, cname, |
129 PerfData::U_Bytes, ps_size_policy()->live_at_last_full_gc(), CHECK); |
124 PerfData::U_Bytes, ps_size_policy()->live_at_last_full_gc(), CHECK); |
130 |
125 |