hotspot/src/share/vm/gc_implementation/shared/markSweep.cpp
changeset 13952 e3cf184080bc
parent 13759 67f8a9de4cdd
child 15088 8875e774f1a3
equal deleted inserted replaced
13918:b01a48301e67 13952:e3cf184080bc
   113       obj->follow_contents();
   113       obj->follow_contents();
   114     }
   114     }
   115     // Process ObjArrays one at a time to avoid marking stack bloat.
   115     // Process ObjArrays one at a time to avoid marking stack bloat.
   116     if (!_objarray_stack.is_empty()) {
   116     if (!_objarray_stack.is_empty()) {
   117       ObjArrayTask task = _objarray_stack.pop();
   117       ObjArrayTask task = _objarray_stack.pop();
   118       objArrayKlass* const k = (objArrayKlass*)task.obj()->klass();
   118       ObjArrayKlass* const k = (ObjArrayKlass*)task.obj()->klass();
   119       k->oop_follow_contents(task.obj(), task.index());
   119       k->oop_follow_contents(task.obj(), task.index());
   120     }
   120     }
   121   } while (!_marking_stack.is_empty() || !_objarray_stack.is_empty());
   121   } while (!_marking_stack.is_empty() || !_objarray_stack.is_empty());
   122 }
   122 }
   123 
   123