src/share/vm/runtime/thread.cpp

changeset 2086
ee5cc9e78493
parent 2050
21e519b91576
parent 2082
da877bdc9000
child 2169
fd5d4527cdf5
child 2191
894b1d7c7e01
child 2219
dfb38ea7da17
equal deleted inserted replaced
2080:09cdb1e1c77b 2086:ee5cc9e78493
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 }

mercurial