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