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