Mercurial > hg > truffle
comparison src/share/vm/opto/bytecodeInfo.cpp @ 13081:e74074c34312
8028159: C2: compiler stack overflow during inlining of @ForceInline methods
Reviewed-by: roland, kvn
author | vlivanov |
---|---|
date | Thu, 14 Nov 2013 09:14:39 -0800 |
parents | 0c4c40f5c399 |
children | 096c224171c4 de6a9e811145 |
comparison
equal
deleted
inserted
replaced
13080:6e1826d5c23e | 13081:e74074c34312 |
---|---|
387 if (!C->do_inlining() && InlineAccessors) { | 387 if (!C->do_inlining() && InlineAccessors) { |
388 set_msg("not an accessor"); | 388 set_msg("not an accessor"); |
389 return false; | 389 return false; |
390 } | 390 } |
391 if (inline_level() > _max_inline_level) { | 391 if (inline_level() > _max_inline_level) { |
392 if (callee_method->force_inline() && inline_level() > MaxForceInlineLevel) { | |
393 set_msg("MaxForceInlineLevel"); | |
394 return false; | |
395 } | |
392 if (!callee_method->force_inline() || !IncrementalInline) { | 396 if (!callee_method->force_inline() || !IncrementalInline) { |
393 set_msg("inlining too deep"); | 397 set_msg("inlining too deep"); |
394 return false; | 398 return false; |
395 } else if (!C->inlining_incrementally()) { | 399 } else if (!C->inlining_incrementally()) { |
396 should_delay = true; | 400 should_delay = true; |