Mercurial > hg > truffle
comparison src/share/vm/runtime/vm_operations.cpp @ 13188:6b2d8d20ecbd
deoptimization: add helper to minimize hsx diff #resolve GRAAL-531
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Thu, 28 Nov 2013 14:12:31 +0100 |
parents | cefad50507d8 |
children | 52b4284cb496 |
comparison
equal
deleted
inserted
replaced
13187:b199147f187e | 13188:6b2d8d20ecbd |
---|---|
148 // Biased llocking wants a updated register map | 148 // Biased llocking wants a updated register map |
149 for(StackFrameStream fst(thread, UseBiasedLocking); !fst.is_done(); fst.next()) { | 149 for(StackFrameStream fst(thread, UseBiasedLocking); !fst.is_done(); fst.next()) { |
150 if (fst.current()->can_be_deoptimized()) { | 150 if (fst.current()->can_be_deoptimized()) { |
151 if (fcount++ == fnum) { | 151 if (fcount++ == fnum) { |
152 fcount = 0; | 152 fcount = 0; |
153 Deoptimization::deoptimize(thread, *fst.current(), fst.register_map(), Deoptimization::Reason_constraint); | 153 Deoptimization::deoptimize(thread, *fst.current(), fst.register_map()); |
154 } | 154 } |
155 } | 155 } |
156 } | 156 } |
157 } | 157 } |
158 } | 158 } |