< prev index next >

src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp

Print this page
rev 8910 : full patch for jfr

*** 1,7 **** /* ! * Copyright (c) 2001, 2013, 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) 2001, 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.
*** 26,35 **** --- 26,36 ---- #define SHARE_VM_GC_IMPLEMENTATION_G1_G1COLLECTORPOLICY_HPP #include "gc_implementation/g1/collectionSetChooser.hpp" #include "gc_implementation/g1/g1Allocator.hpp" #include "gc_implementation/g1/g1MMUTracker.hpp" + #include "gc_implementation/g1/g1IHOPControl.hpp" #include "memory/collectorPolicy.hpp" // A G1CollectorPolicy makes policy decisions that determine the // characteristics of the collector. Examples include: // * choice of collection set.
*** 159,168 **** --- 160,171 ---- } }; class G1CollectorPolicy: public CollectorPolicy { private: + static G1IHOPControl* create_ihop_control(); + // either equal to the number of parallel threads, if ParallelGCThreads // has been set, or 1 otherwise int _parallel_gc_threads; // The number of GC threads currently active.
*** 171,180 **** --- 174,184 ---- enum SomePrivateConstants { NumPrevPausesForHeuristics = 10 }; G1MMUTracker* _mmu_tracker; + G1IHOPControl* _ihop_control; void initialize_alignments(); void initialize_flags(); CollectionSetChooser* _collectionSetChooser;
*** 634,643 **** --- 638,648 ---- double reclaimable_bytes_perc(size_t reclaimable_bytes); public: G1CollectorPolicy(); + virtual ~G1CollectorPolicy(); virtual G1CollectorPolicy* as_g1_policy() { return this; } virtual CollectorPolicy::Name kind() { return CollectorPolicy::G1CollectorPolicyKind;
< prev index next >