hotspot/src/share/vm/runtime/thread.cpp
changeset 6269 10e06287c0b0
parent 6184 a017b5ba6782
child 6273 5b9acff1c480
equal deleted inserted replaced
6268:9e96dde307e9 6269:10e06287c0b0
  2108     while ( f.id() != thread->must_deopt_id() && ! f.is_first_frame()) {
  2108     while ( f.id() != thread->must_deopt_id() && ! f.is_first_frame()) {
  2109       f = f.sender(&map);
  2109       f = f.sender(&map);
  2110     }
  2110     }
  2111     if (f.id() == thread->must_deopt_id()) {
  2111     if (f.id() == thread->must_deopt_id()) {
  2112       thread->clear_must_deopt_id();
  2112       thread->clear_must_deopt_id();
  2113       // Since we know we're safe to deopt the current state is a safe state
  2113       f.deoptimize(thread);
  2114       f.deoptimize(thread, true);
       
  2115     } else {
  2114     } else {
  2116       fatal("missed deoptimization!");
  2115       fatal("missed deoptimization!");
  2117     }
  2116     }
  2118   }
  2117   }
  2119 }
  2118 }