29 #include "gc/g1/g1BiasedArray.hpp" |
29 #include "gc/g1/g1BiasedArray.hpp" |
30 #include "gc/g1/g1CardTable.hpp" |
30 #include "gc/g1/g1CardTable.hpp" |
31 #include "gc/g1/g1CollectionSet.hpp" |
31 #include "gc/g1/g1CollectionSet.hpp" |
32 #include "gc/g1/g1CollectorState.hpp" |
32 #include "gc/g1/g1CollectorState.hpp" |
33 #include "gc/g1/g1ConcurrentMark.hpp" |
33 #include "gc/g1/g1ConcurrentMark.hpp" |
34 #include "gc/g1/g1DirtyCardQueue.hpp" |
|
35 #include "gc/g1/g1EdenRegions.hpp" |
34 #include "gc/g1/g1EdenRegions.hpp" |
36 #include "gc/g1/g1EvacFailure.hpp" |
35 #include "gc/g1/g1EvacFailure.hpp" |
37 #include "gc/g1/g1EvacStats.hpp" |
36 #include "gc/g1/g1EvacStats.hpp" |
38 #include "gc/g1/g1EvacuationInfo.hpp" |
37 #include "gc/g1/g1EvacuationInfo.hpp" |
39 #include "gc/g1/g1GCPhaseTimes.hpp" |
38 #include "gc/g1/g1GCPhaseTimes.hpp" |
40 #include "gc/g1/g1HeapTransition.hpp" |
39 #include "gc/g1/g1HeapTransition.hpp" |
41 #include "gc/g1/g1HeapVerifier.hpp" |
40 #include "gc/g1/g1HeapVerifier.hpp" |
42 #include "gc/g1/g1HRPrinter.hpp" |
41 #include "gc/g1/g1HRPrinter.hpp" |
43 #include "gc/g1/g1HeapRegionAttr.hpp" |
42 #include "gc/g1/g1HeapRegionAttr.hpp" |
44 #include "gc/g1/g1MonitoringSupport.hpp" |
43 #include "gc/g1/g1MonitoringSupport.hpp" |
|
44 #include "gc/g1/g1RedirtyCardsQueue.hpp" |
45 #include "gc/g1/g1SurvivorRegions.hpp" |
45 #include "gc/g1/g1SurvivorRegions.hpp" |
46 #include "gc/g1/g1YCTypes.hpp" |
46 #include "gc/g1/g1YCTypes.hpp" |
47 #include "gc/g1/heapRegionManager.hpp" |
47 #include "gc/g1/heapRegionManager.hpp" |
48 #include "gc/g1/heapRegionSet.hpp" |
48 #include "gc/g1/heapRegionSet.hpp" |
49 #include "gc/g1/heterogeneousHeapRegionManager.hpp" |
49 #include "gc/g1/heterogeneousHeapRegionManager.hpp" |
773 // The g1 remembered set of the heap. |
774 // The g1 remembered set of the heap. |
774 G1RemSet* _rem_set; |
775 G1RemSet* _rem_set; |
775 |
776 |
776 // A set of cards that cover the objects for which the Rsets should be updated |
777 // A set of cards that cover the objects for which the Rsets should be updated |
777 // concurrently after the collection. |
778 // concurrently after the collection. |
778 G1DirtyCardQueueSet _dirty_card_queue_set; |
779 G1RedirtyCardsQueueSet _redirty_cards_queue_set; |
779 |
780 |
780 // After a collection pause, convert the regions in the collection set into free |
781 // After a collection pause, convert the regions in the collection set into free |
781 // regions. |
782 // regions. |
782 void free_collection_set(G1CollectionSet* collection_set, G1EvacuationInfo& evacuation_info, const size_t* surviving_young_words); |
783 void free_collection_set(G1CollectionSet* collection_set, G1EvacuationInfo& evacuation_info, const size_t* surviving_young_words); |
783 |
784 |
933 RefToScanQueue *task_queue(uint i) const; |
934 RefToScanQueue *task_queue(uint i) const; |
934 |
935 |
935 uint num_task_queues() const; |
936 uint num_task_queues() const; |
936 |
937 |
937 // A set of cards where updates happened during the GC |
938 // A set of cards where updates happened during the GC |
938 G1DirtyCardQueueSet& dirty_card_queue_set() { return _dirty_card_queue_set; } |
939 G1RedirtyCardsQueueSet& redirty_cards_queue_set() { |
|
940 return _redirty_cards_queue_set; |
|
941 } |
939 |
942 |
940 // Create a G1CollectedHeap. |
943 // Create a G1CollectedHeap. |
941 // Must call the initialize method afterwards. |
944 // Must call the initialize method afterwards. |
942 // May not return if something goes wrong. |
945 // May not return if something goes wrong. |
943 G1CollectedHeap(); |
946 G1CollectedHeap(); |