Mercurial > hg > graal-jvmci-8
comparison src/share/vm/c1/c1_GraphBuilder.cpp @ 12295:1b64d46620a3
8022585: VM crashes when ran with -XX:+PrintInlining
Summary: use adr_at() to access inline info structures in growableArray. Add ability to specify print inlining per method.
Reviewed-by: twisti
author | kvn |
---|---|
date | Tue, 24 Sep 2013 16:08:00 -0700 |
parents | 59982ff9e0ec |
children | cefad50507d8 d13d7aba8c12 |
comparison
equal
deleted
inserted
replaced
12294:891687731b59 | 12295:1b64d46620a3 |
---|---|
4217 else | 4217 else |
4218 log->inline_fail("reason unknown"); | 4218 log->inline_fail("reason unknown"); |
4219 } | 4219 } |
4220 } | 4220 } |
4221 | 4221 |
4222 if (!PrintInlining) return; | 4222 if (!PrintInlining && !compilation()->method()->has_option("PrintInlining")) { |
4223 return; | |
4224 } | |
4223 CompileTask::print_inlining(callee, scope()->level(), bci(), msg); | 4225 CompileTask::print_inlining(callee, scope()->level(), bci(), msg); |
4224 if (success && CIPrintMethodCodes) { | 4226 if (success && CIPrintMethodCodes) { |
4225 callee->print_codes(); | 4227 callee->print_codes(); |
4226 } | 4228 } |
4227 } | 4229 } |