< prev index next >

src/hotspot/share/services/memoryService.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2017, 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) 2003, 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.
*** 100,110 **** bool recordAccumulatedGCTime, bool recordPreGCUsage, bool recordPeakUsage); static void gc_end(GCMemoryManager* manager, bool recordPostGCUsage, bool recordAccumulatedGCTime, bool recordGCEndTime, bool countCollection, ! GCCause::Cause cause); static void oops_do(OopClosure* f); static bool get_verbose() { return log_is_enabled(Info, gc); } static bool set_verbose(bool verbose); --- 100,111 ---- bool recordAccumulatedGCTime, bool recordPreGCUsage, bool recordPeakUsage); static void gc_end(GCMemoryManager* manager, bool recordPostGCUsage, bool recordAccumulatedGCTime, bool recordGCEndTime, bool countCollection, ! GCCause::Cause cause, ! bool allMemoryPoolsAffected); static void oops_do(OopClosure* f); static bool get_verbose() { return log_is_enabled(Info, gc); } static bool set_verbose(bool verbose);
*** 114,123 **** --- 115,125 ---- }; class TraceMemoryManagerStats : public StackObj { private: GCMemoryManager* _gc_memory_manager; + bool _allMemoryPoolsAffected; bool _recordGCBeginTime; bool _recordPreGCUsage; bool _recordPeakUsage; bool _recordPostGCUsage; bool _recordAccumulatedGCTime;
*** 126,135 **** --- 128,138 ---- GCCause::Cause _cause; public: TraceMemoryManagerStats() {} TraceMemoryManagerStats(GCMemoryManager* gc_memory_manager, GCCause::Cause cause, + bool allMemoryPoolsAffected = true, bool recordGCBeginTime = true, bool recordPreGCUsage = true, bool recordPeakUsage = true, bool recordPostGCUsage = true, bool recordAccumulatedGCTime = true,
*** 142,152 **** bool recordPreGCUsage, bool recordPeakUsage, bool recordPostGCUsage, bool recordAccumulatedGCTime, bool recordGCEndTime, ! bool countCollection); ~TraceMemoryManagerStats(); }; #endif // SHARE_VM_SERVICES_MEMORYSERVICE_HPP --- 145,156 ---- bool recordPreGCUsage, bool recordPeakUsage, bool recordPostGCUsage, bool recordAccumulatedGCTime, bool recordGCEndTime, ! bool countCollection, ! bool allMemoryPoolsAffected = true); ~TraceMemoryManagerStats(); }; #endif // SHARE_VM_SERVICES_MEMORYSERVICE_HPP
< prev index next >