equal
deleted
inserted
replaced
111 _oop_list->remove_at(i); |
111 _oop_list->remove_at(i); |
112 } |
112 } |
113 |
113 |
114 void UnhandledOops::clear_unhandled_oops() { |
114 void UnhandledOops::clear_unhandled_oops() { |
115 assert (CheckUnhandledOops, "should only be called with checking option"); |
115 assert (CheckUnhandledOops, "should only be called with checking option"); |
116 if (_thread->is_gc_locked_out()) { |
116 |
117 return; |
|
118 } |
|
119 for (int k = 0; k < _oop_list->length(); k++) { |
117 for (int k = 0; k < _oop_list->length(); k++) { |
120 UnhandledOopEntry entry = _oop_list->at(k); |
118 UnhandledOopEntry entry = _oop_list->at(k); |
121 // If an entry is on the unhandled oop list but isn't on the stack |
119 // If an entry is on the unhandled oop list but isn't on the stack |
122 // anymore, it must not have gotten unregistered properly and it's a bug |
120 // anymore, it must not have gotten unregistered properly and it's a bug |
123 // in the unhandled oop generator. |
121 // in the unhandled oop generator. |