Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp @ 10182:5c93c1f61226
8011724: G1: Stack allocate instances of HeapRegionRemSetIterator
Summary: Stack allocate instances of HeapRegionRemSetIterator during RSet scanning.
Reviewed-by: brutisso, jwilhelm
author | johnc |
---|---|
date | Thu, 18 Apr 2013 10:09:23 -0700 |
parents | a08c80e9e1e5 |
children | 001ec9515f84 |
comparison
equal
deleted
inserted
replaced
10181:1cb4795305b9 | 10182:5c93c1f61226 |
---|---|
783 ModRefBarrierSet* _mr_bs; | 783 ModRefBarrierSet* _mr_bs; |
784 | 784 |
785 // A set of cards that cover the objects for which the Rsets should be updated | 785 // A set of cards that cover the objects for which the Rsets should be updated |
786 // concurrently after the collection. | 786 // concurrently after the collection. |
787 DirtyCardQueueSet _dirty_card_queue_set; | 787 DirtyCardQueueSet _dirty_card_queue_set; |
788 | |
789 // The Heap Region Rem Set Iterator. | |
790 HeapRegionRemSetIterator** _rem_set_iterator; | |
791 | 788 |
792 // The closure used to refine a single card. | 789 // The closure used to refine a single card. |
793 RefineCardTableEntryClosure* _refine_cte_cl; | 790 RefineCardTableEntryClosure* _refine_cte_cl; |
794 | 791 |
795 // A function to check the consistency of dirty card logs. | 792 // A function to check the consistency of dirty card logs. |
1111 | 1108 |
1112 // The rem set and barrier set. | 1109 // The rem set and barrier set. |
1113 G1RemSet* g1_rem_set() const { return _g1_rem_set; } | 1110 G1RemSet* g1_rem_set() const { return _g1_rem_set; } |
1114 ModRefBarrierSet* mr_bs() const { return _mr_bs; } | 1111 ModRefBarrierSet* mr_bs() const { return _mr_bs; } |
1115 | 1112 |
1116 // The rem set iterator. | |
1117 HeapRegionRemSetIterator* rem_set_iterator(int i) { | |
1118 return _rem_set_iterator[i]; | |
1119 } | |
1120 | |
1121 HeapRegionRemSetIterator* rem_set_iterator() { | |
1122 return _rem_set_iterator[0]; | |
1123 } | |
1124 | |
1125 unsigned get_gc_time_stamp() { | 1113 unsigned get_gc_time_stamp() { |
1126 return _gc_time_stamp; | 1114 return _gc_time_stamp; |
1127 } | 1115 } |
1128 | 1116 |
1129 void reset_gc_time_stamp() { | 1117 void reset_gc_time_stamp() { |