Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.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 | e861d44e0c9c |
children | 4202510ee0fe |
comparison
equal
deleted
inserted
replaced
6762:04ed664b7e30 | 6787:8966c2d65d96 |
---|---|
2373 TraceTime tm_c("class unloading", print_phases(), true, gclog_or_tty); | 2373 TraceTime tm_c("class unloading", print_phases(), true, gclog_or_tty); |
2374 // Follow system dictionary roots and unload classes. | 2374 // Follow system dictionary roots and unload classes. |
2375 bool purged_class = SystemDictionary::do_unloading(is_alive_closure()); | 2375 bool purged_class = SystemDictionary::do_unloading(is_alive_closure()); |
2376 | 2376 |
2377 // Follow code cache roots. | 2377 // Follow code cache roots. |
2378 CodeCache::do_unloading(is_alive_closure(), &mark_and_push_closure, | 2378 CodeCache::do_unloading(is_alive_closure(), purged_class); |
2379 purged_class); | |
2380 cm->follow_marking_stacks(); // Flush marking stack. | 2379 cm->follow_marking_stacks(); // Flush marking stack. |
2381 | 2380 |
2382 // Update subklass/sibling/implementor links of live klasses | 2381 // Update subklass/sibling/implementor links of live klasses |
2383 Klass::clean_weak_klass_links(is_alive_closure()); | 2382 Klass::clean_weak_klass_links(is_alive_closure()); |
2384 | 2383 |