Mercurial > hg > graal-compiler
diff src/share/vm/runtime/arguments.cpp @ 2164:bb2c2878f134
7011839: JSR 292 turn on escape analysis when using invokedynamic
Summary: Currently escape analysis is turned off when EnableInvokeDynamic is true.
Reviewed-by: jrose, kvn
author | twisti |
---|---|
date | Thu, 20 Jan 2011 08:25:22 -0800 |
parents | 8f8dfba37802 |
children | 27e4ea99855d |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Tue Jan 18 18:00:06 2011 -0800 +++ b/src/share/vm/runtime/arguments.cpp Thu Jan 20 08:25:22 2011 -0800 @@ -3029,15 +3029,6 @@ } 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