27
28 #include "gc/shared/collectorPolicy.hpp"
29
30 // G1CollectorPolicy is primarily used during initialization and to expose the
31 // functionality of the CollectorPolicy interface to the rest of the VM.
32
33 class G1YoungGenSizer;
34
35 class G1CollectorPolicy: public CollectorPolicy {
36 protected:
37 void initialize_alignments();
38 void initialize_flags();
39
40 public:
41 G1CollectorPolicy();
42
43 G1CollectorPolicy* as_g1_policy() { return this; }
44
45 void post_heap_initialize() {} // Nothing needed.
46
47 // Create jstat counters for the policy.
48 virtual void initialize_gc_policy_counters();
49 };
50
51 #endif // SHARE_VM_GC_G1_G1COLLECTORPOLICY_HPP
|
27
28 #include "gc/shared/collectorPolicy.hpp"
29
30 // G1CollectorPolicy is primarily used during initialization and to expose the
31 // functionality of the CollectorPolicy interface to the rest of the VM.
32
33 class G1YoungGenSizer;
34
35 class G1CollectorPolicy: public CollectorPolicy {
36 protected:
37 void initialize_alignments();
38 void initialize_flags();
39
40 public:
41 G1CollectorPolicy();
42
43 G1CollectorPolicy* as_g1_policy() { return this; }
44
45 void post_heap_initialize() {} // Nothing needed.
46
47 };
48
49 #endif // SHARE_VM_GC_G1_G1COLLECTORPOLICY_HPP
|