Mercurial > hg > truffle
comparison src/share/vm/opto/bytecodeInfo.cpp @ 675:f6da6f0174ac
6821700: tune VM flags for peak performance
Summary: Tune C2 flags default values for performance.
Reviewed-by: never, phh, iveresov, jmasa, ysr
author | kvn |
---|---|
date | Mon, 30 Mar 2009 18:19:31 -0700 |
parents | 194b8e3a2fc4 |
children | be93aad57795 |
comparison
equal
deleted
inserted
replaced
674:4948e7dd28dc | 675:f6da6f0174ac |
---|---|
230 | 230 |
231 if (callee_method->should_not_inline()) { | 231 if (callee_method->should_not_inline()) { |
232 return "disallowed by CompilerOracle"; | 232 return "disallowed by CompilerOracle"; |
233 } | 233 } |
234 | 234 |
235 if (UseStringCache) { | |
236 // Do not inline StringCache::profile() method used only at the beginning. | |
237 if (callee_method->name() == ciSymbol::profile_name() && | |
238 callee_method->holder()->name() == ciSymbol::java_lang_StringCache()) { | |
239 return "profiling method"; | |
240 } | |
241 } | |
242 | |
235 return NULL; | 243 return NULL; |
236 } | 244 } |
237 | 245 |
238 //-----------------------------try_to_inline----------------------------------- | 246 //-----------------------------try_to_inline----------------------------------- |
239 // return NULL if ok, reason for not inlining otherwise | 247 // return NULL if ok, reason for not inlining otherwise |