Mercurial > hg > truffle
comparison src/share/vm/runtime/thread.cpp @ 5111:422c979ff392
fixed two cases where DeoptAction was invalid
author | Christian Haeubl <christian.haeubl@oracle.com> |
---|---|
date | Thu, 15 Mar 2012 16:34:31 -0700 |
parents | 0ebca2e35ca5 |
children | 120820e30baa |
comparison
equal
deleted
inserted
replaced
5110:0ebca2e35ca5 | 5111:422c979ff392 |
---|---|
2488 deopt = true; // One-time only print before deopt | 2488 deopt = true; // One-time only print before deopt |
2489 tty->print_cr("[BEFORE Deoptimization]"); | 2489 tty->print_cr("[BEFORE Deoptimization]"); |
2490 trace_frames(); | 2490 trace_frames(); |
2491 trace_stack(); | 2491 trace_stack(); |
2492 } | 2492 } |
2493 Deoptimization::deoptimize(this, *fst.current(), fst.register_map()); | 2493 Deoptimization::deoptimize(this, *fst.current(), fst.register_map(), Deoptimization::Reason_constraint); |
2494 } | 2494 } |
2495 } | 2495 } |
2496 | 2496 |
2497 if (DebugDeoptimization && deopt) { | 2497 if (DebugDeoptimization && deopt) { |
2498 tty->print_cr("[AFTER Deoptimization]"); | 2498 tty->print_cr("[AFTER Deoptimization]"); |