mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
6943485: JVMTI always on capabilities change code generation too much
Reviewed-by: twisti, dcubed
This commit is contained in:
parent
cd48f31efe
commit
eb534d777a
15 changed files with 20 additions and 54 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
|
||||
* Copyright 1999-2010 Sun Microsystems, Inc. All Rights Reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -105,8 +105,7 @@ void C2Compiler::compile_method(ciEnv* env,
|
|||
}
|
||||
bool subsume_loads = true;
|
||||
bool do_escape_analysis = DoEscapeAnalysis &&
|
||||
!(env->jvmti_can_hotswap_or_post_breakpoint() ||
|
||||
env->jvmti_can_examine_or_deopt_anywhere());
|
||||
!env->jvmti_can_access_local_variables();
|
||||
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