src/share/vm/runtime/deoptimization.cpp

changeset 3406
e9a5e0a812c8
parent 3251
e342a5110bed
child 3499
aa3d708d67c4
     1.1 --- a/src/share/vm/runtime/deoptimization.cpp	Sat Jan 07 10:39:23 2012 -0800
     1.2 +++ b/src/share/vm/runtime/deoptimization.cpp	Sat Jan 07 13:26:43 2012 -0800
     1.3 @@ -211,7 +211,7 @@
     1.4  #ifdef COMPILER2
     1.5    // Reallocate the non-escaping objects and restore their fields. Then
     1.6    // relock objects if synchronization on them was eliminated.
     1.7 -  if (DoEscapeAnalysis) {
     1.8 +  if (DoEscapeAnalysis || EliminateNestedLocks) {
     1.9      if (EliminateAllocations) {
    1.10        assert (chunk->at(0)->scope() != NULL,"expect only compiled java frames");
    1.11        GrowableArray<ScopeValue*>* objects = chunk->at(0)->scope()->objects();

mercurial