mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8209738: Remove ClassLoaderDataGraph::*oops_do functions
Make walking CLDG more consistent. Reviewed-by: dholmes, tschatzl
This commit is contained in:
parent
f6bcc38500
commit
dc556f4086
6 changed files with 9 additions and 34 deletions
|
@ -2188,7 +2188,8 @@ void PSParallelCompact::adjust_roots(ParCompactionManager* cm) {
|
|||
Management::oops_do(&oop_closure);
|
||||
JvmtiExport::oops_do(&oop_closure);
|
||||
SystemDictionary::oops_do(&oop_closure);
|
||||
ClassLoaderDataGraph::oops_do(&oop_closure, true);
|
||||
CLDToOopClosure cld_closure(&oop_closure);
|
||||
ClassLoaderDataGraph::cld_do(&cld_closure);
|
||||
|
||||
// Now adjust pointers in remaining weak roots. (All of which should
|
||||
// have been cleared if they pointed to non-surviving objects.)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue