equal
deleted
inserted
replaced
24 |
24 |
25 #ifndef SHARE_VM_GC_SHARED_COLLECTORPOLICY_HPP |
25 #ifndef SHARE_VM_GC_SHARED_COLLECTORPOLICY_HPP |
26 #define SHARE_VM_GC_SHARED_COLLECTORPOLICY_HPP |
26 #define SHARE_VM_GC_SHARED_COLLECTORPOLICY_HPP |
27 |
27 |
28 #include "gc/shared/barrierSet.hpp" |
28 #include "gc/shared/barrierSet.hpp" |
29 #include "gc/shared/genRemSet.hpp" |
29 #include "gc/shared/cardTableRS.hpp" |
30 #include "gc/shared/generationSpec.hpp" |
30 #include "gc/shared/generationSpec.hpp" |
31 #include "memory/allocation.hpp" |
31 #include "memory/allocation.hpp" |
32 #include "utilities/macros.hpp" |
32 #include "utilities/macros.hpp" |
33 |
33 |
34 // This class (or more correctly, subtypes of this class) |
34 // This class (or more correctly, subtypes of this class) |
141 bool is_concurrent_mark_sweep_policy() { return false; } |
141 bool is_concurrent_mark_sweep_policy() { return false; } |
142 bool is_g1_policy() { return false; } |
142 bool is_g1_policy() { return false; } |
143 #endif // INCLUDE_ALL_GCS |
143 #endif // INCLUDE_ALL_GCS |
144 |
144 |
145 |
145 |
146 virtual GenRemSet* create_rem_set(MemRegion reserved); |
146 virtual CardTableRS* create_rem_set(MemRegion reserved); |
147 |
147 |
148 // This method controls how a collector satisfies a request |
148 // This method controls how a collector satisfies a request |
149 // for a block of memory. "gc_time_limit_was_exceeded" will |
149 // for a block of memory. "gc_time_limit_was_exceeded" will |
150 // be set to true if the adaptive size policy determine that |
150 // be set to true if the adaptive size policy determine that |
151 // an excessive amount of time is being spent doing collections |
151 // an excessive amount of time is being spent doing collections |