6821700: tune VM flags for peak performance

Tune C2 flags default values for performance.

Reviewed-by: never, phh, iveresov, jmasa, ysr
This commit is contained in:
Vladimir Kozlov 2009-03-30 18:19:31 -07:00
parent 99aa7292a3
commit 705188bb7b
6 changed files with 23 additions and 6 deletions

View file

@ -232,6 +232,14 @@ const char* InlineTree::shouldNotInline(ciMethod *callee_method, ciMethod* calle
return "disallowed by CompilerOracle";
}
if (UseStringCache) {
// Do not inline StringCache::profile() method used only at the beginning.
if (callee_method->name() == ciSymbol::profile_name() &&
callee_method->holder()->name() == ciSymbol::java_lang_StringCache()) {
return "profiling method";
}
}
return NULL;
}