7011839: JSR 292 turn on escape analysis when using invokedynamic

Currently escape analysis is turned off when EnableInvokeDynamic is true.

Reviewed-by: jrose, kvn
This commit is contained in:
Christian Thalinger 2011-01-20 08:25:22 -08:00
parent 00e24ca7ca
commit 5e35df892d
2 changed files with 9 additions and 10 deletions

View file

@ -3029,15 +3029,6 @@ jint Arguments::parse(const JavaVMInitArgs* args) {
}
ScavengeRootsInCode = 1;
}
#ifdef COMPILER2
if (EnableInvokeDynamic && DoEscapeAnalysis) {
// TODO: We need to find rules for invokedynamic and EA. For now,
// simply disable EA by default.
if (FLAG_IS_DEFAULT(DoEscapeAnalysis)) {
DoEscapeAnalysis = false;
}
}
#endif
if (PrintGCDetails) {
// Turn on -verbose:gc options as well