hotspot/src/share/vm/runtime/deoptimization.cpp
changeset 11445 3c768dca60f5
parent 10979 c25dd872c62f
child 11636 3c07b54482a5
equal deleted inserted replaced
11444:8a2619fd3fca 11445:3c768dca60f5
   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