src/share/vm/gc_implementation/shared/markSweep.cpp

changeset 4142
d8ce2825b193
parent 4068
e861d44e0c9c
child 4384
b735136e0d82
equal deleted inserted replaced
4122:1b582b1bf7cb 4142:d8ce2825b193
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

mercurial