Mercurial > hg > truffle
comparison src/share/vm/runtime/unhandledOops.cpp @ 17891:b6a2ba7d3ea7 hs25.20-b11
Merge
author | amurillo |
---|---|
date | Thu, 17 Apr 2014 16:09:07 -0700 |
parents | 9c3dc501b5eb |
children | 78bbf4d43a14 |
comparison
equal
deleted
inserted
replaced
17862:70dc2c030c69 | 17891:b6a2ba7d3ea7 |
---|---|
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. |