Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/concurrentG1Refine.cpp @ 640:ba50942c8138
Merge
author | tonyp |
---|---|
date | Wed, 18 Mar 2009 11:37:48 -0400 |
parents | 25e146966e7c |
children | 315a5d70b295 |
comparison
equal
deleted
inserted
replaced
629:2581d90c6c9b | 640:ba50942c8138 |
---|---|
143 // in-progress traversals of completed log buffers to quit early; we will | 143 // in-progress traversals of completed log buffers to quit early; we will |
144 // also abandon all other buffers. | 144 // also abandon all other buffers. |
145 if (G1RSBarrierUseQueue) { | 145 if (G1RSBarrierUseQueue) { |
146 DirtyCardQueueSet& dcqs = JavaThread::dirty_card_queue_set(); | 146 DirtyCardQueueSet& dcqs = JavaThread::dirty_card_queue_set(); |
147 dcqs.abandon_logs(); | 147 dcqs.abandon_logs(); |
148 if (_cg1rThread->do_traversal()) { | 148 // Reset the post-yield actions. |
149 _pya = PYA_restart; | 149 _pya = PYA_continue; |
150 } else { | 150 _last_pya = PYA_continue; |
151 _cg1rThread->set_do_traversal(true); | |
152 // Reset the post-yield actions. | |
153 _pya = PYA_continue; | |
154 _last_pya = PYA_continue; | |
155 } | |
156 } else { | 151 } else { |
157 _pya = PYA_restart; | 152 _pya = PYA_restart; |
158 } | 153 } |
159 } | 154 } |
160 | 155 |