comparison 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
comparison
equal deleted inserted replaced
2141:b599a4c6c2df 2164:bb2c2878f134
3027 if (!FLAG_IS_DEFAULT(ScavengeRootsInCode)) { 3027 if (!FLAG_IS_DEFAULT(ScavengeRootsInCode)) {
3028 warning("forcing ScavengeRootsInCode non-zero because EnableMethodHandles or AnonymousClasses is true"); 3028 warning("forcing ScavengeRootsInCode non-zero because EnableMethodHandles or AnonymousClasses is true");
3029 } 3029 }
3030 ScavengeRootsInCode = 1; 3030 ScavengeRootsInCode = 1;
3031 } 3031 }
3032 #ifdef COMPILER2
3033 if (EnableInvokeDynamic && DoEscapeAnalysis) {
3034 // TODO: We need to find rules for invokedynamic and EA. For now,
3035 // simply disable EA by default.
3036 if (FLAG_IS_DEFAULT(DoEscapeAnalysis)) {
3037 DoEscapeAnalysis = false;
3038 }
3039 }
3040 #endif
3041 3032
3042 if (PrintGCDetails) { 3033 if (PrintGCDetails) {
3043 // Turn on -verbose:gc options as well 3034 // Turn on -verbose:gc options as well
3044 PrintGC = true; 3035 PrintGC = true;
3045 } 3036 }