mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8012687: Remove unused is_root checks and closures
Reviewed-by: tschatzl, jmasa
This commit is contained in:
parent
dcedbaa149
commit
bdf829cf3e
15 changed files with 59 additions and 103 deletions
|
@ -218,14 +218,13 @@ public:
|
|||
static AlwaysTrueClosure always_true;
|
||||
|
||||
void SharedHeap::process_weak_roots(OopClosure* root_closure,
|
||||
CodeBlobClosure* code_roots,
|
||||
OopClosure* non_root_closure) {
|
||||
CodeBlobClosure* code_roots) {
|
||||
// Global (weak) JNI handles
|
||||
JNIHandles::weak_oops_do(&always_true, root_closure);
|
||||
|
||||
CodeCache::blobs_do(code_roots);
|
||||
StringTable::oops_do(root_closure);
|
||||
}
|
||||
StringTable::oops_do(root_closure);
|
||||
}
|
||||
|
||||
void SharedHeap::set_barrier_set(BarrierSet* bs) {
|
||||
_barrier_set = bs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue