hotspot/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.cpp
changeset 13952 e3cf184080bc
parent 13728 882756847a04
child 17370 59a0620561fa
equal deleted inserted replaced
13918:b01a48301e67 13952:e3cf184080bc
   186     }
   186     }
   187 
   187 
   188     // Process ObjArrays one at a time to avoid marking stack bloat.
   188     // Process ObjArrays one at a time to avoid marking stack bloat.
   189     ObjArrayTask task;
   189     ObjArrayTask task;
   190     if (_objarray_stack.pop_overflow(task)) {
   190     if (_objarray_stack.pop_overflow(task)) {
   191       objArrayKlass* const k = (objArrayKlass*)task.obj()->klass();
   191       ObjArrayKlass* const k = (ObjArrayKlass*)task.obj()->klass();
   192       k->oop_follow_contents(this, task.obj(), task.index());
   192       k->oop_follow_contents(this, task.obj(), task.index());
   193     } else if (_objarray_stack.pop_local(task)) {
   193     } else if (_objarray_stack.pop_local(task)) {
   194       objArrayKlass* const k = (objArrayKlass*)task.obj()->klass();
   194       ObjArrayKlass* const k = (ObjArrayKlass*)task.obj()->klass();
   195       k->oop_follow_contents(this, task.obj(), task.index());
   195       k->oop_follow_contents(this, task.obj(), task.index());
   196     }
   196     }
   197   } while (!marking_stacks_empty());
   197   } while (!marking_stacks_empty());
   198 
   198 
   199   assert(marking_stacks_empty(), "Sanity");
   199   assert(marking_stacks_empty(), "Sanity");