mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8211447: Replace oop_pc_update_pointers with oop_iterate and closure
Reviewed-by: sjohanss, tschatzl
This commit is contained in:
parent
78fe66c3bb
commit
e898052f3b
13 changed files with 21 additions and 166 deletions
|
@ -156,7 +156,10 @@ inline void ParCompactionManager::follow_array(objArrayOop obj, int index) {
|
|||
}
|
||||
|
||||
inline void ParCompactionManager::update_contents(oop obj) {
|
||||
obj->pc_update_contents(this);
|
||||
if (!obj->klass()->is_typeArray_klass()) {
|
||||
PCAdjustPointerClosure apc(this);
|
||||
obj->oop_iterate(&apc);
|
||||
}
|
||||
}
|
||||
|
||||
inline void ParCompactionManager::follow_class_loader(ClassLoaderData* cld) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue