< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahYoungGeneration.hpp

Print this page

17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18  *
19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20  * or visit www.oracle.com if you need additional information or have any
21  * questions.
22  *
23  */
24 
25 #ifndef SHARE_VM_GC_SHENANDOAH_SHENANDOAHYOUNGGENERATION_HPP
26 #define SHARE_VM_GC_SHENANDOAH_SHENANDOAHYOUNGGENERATION_HPP
27 
28 #include "gc/shenandoah/heuristics/shenandoahYoungHeuristics.hpp"
29 #include "gc/shenandoah/shenandoahGeneration.hpp"
30 
31 class ShenandoahYoungGeneration : public ShenandoahGeneration {
32 private:
33   ShenandoahObjToScanQueueSet* _old_gen_task_queues;
34   ShenandoahYoungHeuristics* _young_heuristics;
35 
36 public:
37   ShenandoahYoungGeneration(uint max_queues, size_t max_capacity, size_t max_soft_capacity);
38 
39   ShenandoahHeuristics* initialize_heuristics(ShenandoahMode* gc_mode) override;
40 
41   const char* name() const override {
42     return "Young";
43   }
44 
45   ShenandoahYoungHeuristics* heuristics() const override {
46     return _young_heuristics;
47   }
48 
49   void set_concurrent_mark_in_progress(bool in_progress) override;
50   bool is_concurrent_mark_in_progress() override;
51 
52   void parallel_heap_region_iterate(ShenandoahHeapRegionClosure* cl) override;
53 
54   void parallel_heap_region_iterate_free(ShenandoahHeapRegionClosure* cl) override;
55 
56   void heap_region_iterate(ShenandoahHeapRegionClosure* cl) override;
57 

17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18  *
19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20  * or visit www.oracle.com if you need additional information or have any
21  * questions.
22  *
23  */
24 
25 #ifndef SHARE_VM_GC_SHENANDOAH_SHENANDOAHYOUNGGENERATION_HPP
26 #define SHARE_VM_GC_SHENANDOAH_SHENANDOAHYOUNGGENERATION_HPP
27 
28 #include "gc/shenandoah/heuristics/shenandoahYoungHeuristics.hpp"
29 #include "gc/shenandoah/shenandoahGeneration.hpp"
30 
31 class ShenandoahYoungGeneration : public ShenandoahGeneration {
32 private:
33   ShenandoahObjToScanQueueSet* _old_gen_task_queues;
34   ShenandoahYoungHeuristics* _young_heuristics;
35 
36 public:
37   ShenandoahYoungGeneration(uint max_queues, size_t max_capacity);
38 
39   ShenandoahHeuristics* initialize_heuristics(ShenandoahMode* gc_mode) override;
40 
41   const char* name() const override {
42     return "Young";
43   }
44 
45   ShenandoahYoungHeuristics* heuristics() const override {
46     return _young_heuristics;
47   }
48 
49   void set_concurrent_mark_in_progress(bool in_progress) override;
50   bool is_concurrent_mark_in_progress() override;
51 
52   void parallel_heap_region_iterate(ShenandoahHeapRegionClosure* cl) override;
53 
54   void parallel_heap_region_iterate_free(ShenandoahHeapRegionClosure* cl) override;
55 
56   void heap_region_iterate(ShenandoahHeapRegionClosure* cl) override;
57 
< prev index next >