1472N/A * or visit www.oracle.com if you need additional information or have any
1879N/A#include "precompiled.hpp"
1879N/A#include "classfile/systemDictionary.hpp"
1879N/A#include "classfile/vmSymbols.hpp"
1879N/A#include "oops/oop.inline.hpp"
1879N/A#include "runtime/handles.inline.hpp"
1879N/A#include "runtime/javaCalls.hpp"
1879N/A#include "services/lowMemoryDetector.hpp"
1879N/A#include "services/management.hpp"
1879N/A#include "services/memoryManager.hpp"
1879N/A#include "services/memoryPool.hpp"
1879N/A#include "services/memoryService.hpp"
2453N/A#include "services/gcNotifier.hpp"
1879N/A#include "utilities/dtrace.hpp"
0N/A _num_pools = 0;
0N/A _num_pools++;
0N/A if (is_gc_memory_manager()) {
3863N/A _before_gc_usage_array = (MemoryUsage*) NEW_C_HEAP_ARRAY(MemoryUsage, num_pools, mtInternal);
3863N/A _after_gc_usage_array = (MemoryUsage*) NEW_C_HEAP_ARRAY(MemoryUsage, num_pools, mtInternal);
1623N/A _start_time = 0L;
0N/A _num_collections = 0;
2453N/A _notification_enabled = false;
0N/A delete _last_gc_stat;
1623N/A delete _last_gc_lock;
1623N/A delete _current_gc_stat;
3863N/A _last_gc_stat = new(ResourceObj::C_HEAP, mtGC) GCStatInfo(MemoryService::num_memory_pools());
3863N/A _current_gc_stat = new(ResourceObj::C_HEAP, mtGC) GCStatInfo(MemoryService::num_memory_pools());
1623N/A bool recordAccumulatedGCTime) {
1623N/A if (recordAccumulatedGCTime) {
1623N/A if (recordGCBeginTime) {
1623N/A if (recordPreGCUsage) {
1623N/A if (recordAccumulatedGCTime) {
1623N/A if (recordGCEndTime) {
1623N/A if (recordPostGCUsage) {
1623N/A for (i = 0; i < num_memory_pools(); i++) {
1623N/A if (countCollection) {
2938N/A if (is_notification_enabled()) {