hotspot/src/share/vm/runtime/thread.cpp
changeset 6273 5b9acff1c480
parent 6190 2ce445f727d8
parent 6269 10e06287c0b0
child 6762 f8d1b560700e
child 6740 2bc601284215
child 6961 a32b2fc66321
equal deleted inserted replaced
6267:853e0eb61827 6273:5b9acff1c480
  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 }