equal
deleted
inserted
replaced
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 |