comparison src/share/vm/c1/c1_Compilation.hpp @ 18041:52b4284cb496

Merge with jdk8u20-b26
author Gilles Duboscq <duboscq@ssw.jku.at>
date Wed, 15 Oct 2014 16:02:50 +0200
parents 4ca6dc0799b6 0bf37f737702
children
comparison
equal deleted inserted replaced
17606:45d7b2c7029d 18041:52b4284cb496
86 ImplicitExceptionTable _implicit_exception_table; 86 ImplicitExceptionTable _implicit_exception_table;
87 LinearScan* _allocator; 87 LinearScan* _allocator;
88 CodeOffsets _offsets; 88 CodeOffsets _offsets;
89 CodeBuffer _code; 89 CodeBuffer _code;
90 bool _has_access_indexed; 90 bool _has_access_indexed;
91 int _interpreter_frame_size; // Stack space needed in case of a deoptimization
91 92
92 // compilation helpers 93 // compilation helpers
93 void initialize(); 94 void initialize();
94 void build_hir(); 95 void build_hir();
95 void emit_lir(); 96 void emit_lir();
257 (RangeCheckElimination || UseLoopInvariantCodeMotion) && 258 (RangeCheckElimination || UseLoopInvariantCodeMotion) &&
258 method()->method_data()->trap_count(Deoptimization::Reason_none) == 0; 259 method()->method_data()->trap_count(Deoptimization::Reason_none) == 0;
259 } 260 }
260 261
261 ciKlass* cha_exact_type(ciType* type); 262 ciKlass* cha_exact_type(ciType* type);
263
264 // Dump inlining replay data to the stream.
265 void dump_inline_data(outputStream* out) { /* do nothing now */ }
266
267 // How much stack space would the interpreter need in case of a
268 // deoptimization (worst case)
269 void update_interpreter_frame_size(int size) {
270 if (_interpreter_frame_size < size) {
271 _interpreter_frame_size = size;
272 }
273 }
274
275 int interpreter_frame_size() const {
276 return _interpreter_frame_size;
277 }
262 }; 278 };
263 279
264 280
265 // Macro definitions for unified bailout-support 281 // Macro definitions for unified bailout-support
266 // The methods bailout() and bailed_out() are present in all classes 282 // The methods bailout() and bailed_out() are present in all classes