Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1MarkSweep.cpp @ 6787:8966c2d65d96
7200470: KeepAliveClosure not needed in CodeCache::do_unloading
Summary: Removed the unused keep_alive parameter
Reviewed-by: stefank, dholmes, kamg, coleenp
author | brutisso |
---|---|
date | Tue, 25 Sep 2012 14:58:12 +0200 |
parents | da91efe96a93 |
children | b735136e0d82 |
comparison
equal
deleted
inserted
replaced
6762:04ed664b7e30 | 6787:8966c2d65d96 |
---|---|
149 assert(GenMarkSweep::_marking_stack.is_empty(), | 149 assert(GenMarkSweep::_marking_stack.is_empty(), |
150 "stack should be empty by now"); | 150 "stack should be empty by now"); |
151 | 151 |
152 // Follow code cache roots (has to be done after system dictionary, | 152 // Follow code cache roots (has to be done after system dictionary, |
153 // assumes all live klasses are marked) | 153 // assumes all live klasses are marked) |
154 CodeCache::do_unloading(&GenMarkSweep::is_alive, | 154 CodeCache::do_unloading(&GenMarkSweep::is_alive, purged_class); |
155 &GenMarkSweep::keep_alive, | |
156 purged_class); | |
157 GenMarkSweep::follow_stack(); | 155 GenMarkSweep::follow_stack(); |
158 | 156 |
159 // Update subklass/sibling/implementor links of live klasses | 157 // Update subklass/sibling/implementor links of live klasses |
160 Klass::clean_weak_klass_links(&GenMarkSweep::is_alive); | 158 Klass::clean_weak_klass_links(&GenMarkSweep::is_alive); |
161 assert(GenMarkSweep::_marking_stack.is_empty(), | 159 assert(GenMarkSweep::_marking_stack.is_empty(), |