mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
6837472: com/sun/jdi/MonitorFrameInfo.java fails with AggressiveOpts in 6u14
Disable escape analysis when jvmti/debugger is used. Add support for EA ibto SA. Reviewed-by: never
This commit is contained in:
parent
0429abd38a
commit
7b9d6a79ac
22 changed files with 350 additions and 33 deletions
|
@ -104,7 +104,9 @@ void C2Compiler::compile_method(ciEnv* env,
|
|||
initialize();
|
||||
}
|
||||
bool subsume_loads = true;
|
||||
bool do_escape_analysis = DoEscapeAnalysis;
|
||||
bool do_escape_analysis = DoEscapeAnalysis &&
|
||||
!(env->jvmti_can_hotswap_or_post_breakpoint() ||
|
||||
env->jvmti_can_examine_or_deopt_anywhere());
|
||||
while (!env->failing()) {
|
||||
// Attempt to compile while subsuming loads into machine instructions.
|
||||
Compile C(env, this, target, entry_bci, subsume_loads, do_escape_analysis);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue