src/share/vm/runtime/deoptimization.cpp

changeset 3406
e9a5e0a812c8
parent 3251
e342a5110bed
child 3499
aa3d708d67c4
equal deleted inserted replaced
3405:5da7201222d5 3406:e9a5e0a812c8
209 chunk->push(compiledVFrame::cast(vf)); 209 chunk->push(compiledVFrame::cast(vf));
210 210
211 #ifdef COMPILER2 211 #ifdef COMPILER2
212 // Reallocate the non-escaping objects and restore their fields. Then 212 // Reallocate the non-escaping objects and restore their fields. Then
213 // relock objects if synchronization on them was eliminated. 213 // relock objects if synchronization on them was eliminated.
214 if (DoEscapeAnalysis) { 214 if (DoEscapeAnalysis || EliminateNestedLocks) {
215 if (EliminateAllocations) { 215 if (EliminateAllocations) {
216 assert (chunk->at(0)->scope() != NULL,"expect only compiled java frames"); 216 assert (chunk->at(0)->scope() != NULL,"expect only compiled java frames");
217 GrowableArray<ScopeValue*>* objects = chunk->at(0)->scope()->objects(); 217 GrowableArray<ScopeValue*>* objects = chunk->at(0)->scope()->objects();
218 218
219 // The flag return_oop() indicates call sites which return oop 219 // The flag return_oop() indicates call sites which return oop

mercurial