Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 10179:a08c80e9e1e5
8012687: Remove unused is_root checks and closures
Reviewed-by: tschatzl, jmasa
author | stefank |
---|---|
date | Mon, 22 Apr 2013 20:27:36 +0200 |
parents | c0000f77bc6d |
children | 5c93c1f61226 |
comparison
equal
deleted
inserted
replaced
10178:d391427ddc29 | 10179:a08c80e9e1e5 |
---|---|
5077 } | 5077 } |
5078 _process_strong_tasks->all_tasks_completed(); | 5078 _process_strong_tasks->all_tasks_completed(); |
5079 } | 5079 } |
5080 | 5080 |
5081 void | 5081 void |
5082 G1CollectedHeap::g1_process_weak_roots(OopClosure* root_closure, | 5082 G1CollectedHeap::g1_process_weak_roots(OopClosure* root_closure) { |
5083 OopClosure* non_root_closure) { | |
5084 CodeBlobToOopClosure roots_in_blobs(root_closure, /*do_marking=*/ false); | 5083 CodeBlobToOopClosure roots_in_blobs(root_closure, /*do_marking=*/ false); |
5085 SharedHeap::process_weak_roots(root_closure, &roots_in_blobs, non_root_closure); | 5084 SharedHeap::process_weak_roots(root_closure, &roots_in_blobs); |
5086 } | 5085 } |
5087 | 5086 |
5088 // Weak Reference Processing support | 5087 // Weak Reference Processing support |
5089 | 5088 |
5090 // An always "is_alive" closure that is used to preserve referents. | 5089 // An always "is_alive" closure that is used to preserve referents. |