mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +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
|
@ -316,7 +316,7 @@ void Compilation::install_code(int frame_size) {
|
|||
implicit_exception_table(),
|
||||
compiler(),
|
||||
_env->comp_level(),
|
||||
needs_debug_information(),
|
||||
true,
|
||||
has_unsafe_access()
|
||||
);
|
||||
}
|
||||
|
@ -449,8 +449,6 @@ Compilation::Compilation(AbstractCompiler* compiler, ciEnv* env, ciMethod* metho
|
|||
assert(_arena == NULL, "shouldn't only one instance of Compilation in existence at a time");
|
||||
_arena = Thread::current()->resource_area();
|
||||
_compilation = this;
|
||||
_needs_debug_information = _env->jvmti_can_examine_or_deopt_anywhere() ||
|
||||
JavaMonitorsInStackTrace || AlwaysEmitDebugInfo || DeoptimizeALot;
|
||||
_exception_info_list = new ExceptionInfoList();
|
||||
_implicit_exception_table.set_size(0);
|
||||
compile_method();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue