mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
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:
parent
00e24ca7ca
commit
5e35df892d
2 changed files with 9 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue