diff src/share/vm/c1/c1_Compilation.cpp @ 1397:b4776199210f

6943485: JVMTI always on capabilities change code generation too much Reviewed-by: twisti, dcubed
author never
date Mon, 26 Apr 2010 23:59:45 -0700
parents 9f5b60a14736
children c18cbe5936b8
line wrap: on
line diff
--- a/src/share/vm/c1/c1_Compilation.cpp	Mon Apr 26 11:27:21 2010 -0700
+++ b/src/share/vm/c1/c1_Compilation.cpp	Mon Apr 26 23:59:45 2010 -0700
@@ -316,7 +316,7 @@
     implicit_exception_table(),
     compiler(),
     _env->comp_level(),
-    needs_debug_information(),
+    true,
     has_unsafe_access()
   );
 }
@@ -449,8 +449,6 @@
   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();