Mercurial > hg > truffle
comparison src/share/vm/runtime/deoptimization.cpp @ 18125:2a69cbe850a8
Reduce diff with upstream
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Mon, 20 Oct 2014 19:07:20 +0200 |
parents | 52b4284cb496 |
children | 5c1bd485c54b |
comparison
equal
deleted
inserted
replaced
18124:689092d5cf44 | 18125:2a69cbe850a8 |
---|---|
211 } | 211 } |
212 | 212 |
213 // Create a growable array of VFrames where each VFrame represents an inlined | 213 // Create a growable array of VFrames where each VFrame represents an inlined |
214 // Java frame. This storage is allocated with the usual system arena. | 214 // Java frame. This storage is allocated with the usual system arena. |
215 assert(deoptee.is_compiled_frame(), "Wrong frame type"); | 215 assert(deoptee.is_compiled_frame(), "Wrong frame type"); |
216 | |
217 GrowableArray<compiledVFrame*>* chunk = new GrowableArray<compiledVFrame*>(10); | 216 GrowableArray<compiledVFrame*>* chunk = new GrowableArray<compiledVFrame*>(10); |
218 vframe* vf = vframe::new_vframe(&deoptee, &map, thread); | 217 vframe* vf = vframe::new_vframe(&deoptee, &map, thread); |
219 while (!vf->is_top()) { | 218 while (!vf->is_top()) { |
220 assert(vf->is_compiled_frame(), "Wrong frame type"); | 219 assert(vf->is_compiled_frame(), "Wrong frame type"); |
221 chunk->push(compiledVFrame::cast(vf)); | 220 chunk->push(compiledVFrame::cast(vf)); |