Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1CodeCacheRemSet.cpp @ 20279:870c03421152
8049426: Minor cleanups after G1 class unloading
Reviewed-by: stefank, brutisso
author | ehelin |
---|---|
date | Wed, 09 Jul 2014 16:44:30 +0200 |
parents | 2c6ef90f030a |
children | 7baf47cb97cb |
comparison
equal
deleted
inserted
replaced
20278:2c6ef90f030a | 20279:870c03421152 |
---|---|
167 clear(); | 167 clear(); |
168 } | 168 } |
169 | 169 |
170 void G1CodeRootSet::add(nmethod* method) { | 170 void G1CodeRootSet::add(nmethod* method) { |
171 if (!contains(method)) { | 171 if (!contains(method)) { |
172 // Find the first chunk thatisn't full. | 172 // Find the first chunk that isn't full. |
173 G1CodeRootChunk* cur = _list.head(); | 173 G1CodeRootChunk* cur = _list.head(); |
174 while (cur != NULL) { | 174 while (cur != NULL) { |
175 if (!cur->is_full()) { | 175 if (!cur->is_full()) { |
176 break; | 176 break; |
177 } | 177 } |