hotspot/src/share/vm/c1/c1_Compilation.cpp
changeset 5353 30f4b75f8005
parent 5334 b2d040a8d375
child 5547 f4b087cbb361
equal deleted inserted replaced
5352:cee8f7acb7bc 5353:30f4b75f8005
   314     debug_info_recorder()->_oopmaps,
   314     debug_info_recorder()->_oopmaps,
   315     exception_handler_table(),
   315     exception_handler_table(),
   316     implicit_exception_table(),
   316     implicit_exception_table(),
   317     compiler(),
   317     compiler(),
   318     _env->comp_level(),
   318     _env->comp_level(),
   319     needs_debug_information(),
   319     true,
   320     has_unsafe_access()
   320     has_unsafe_access()
   321   );
   321   );
   322 }
   322 }
   323 
   323 
   324 
   324 
   447   PhaseTraceTime timeit(_t_compile);
   447   PhaseTraceTime timeit(_t_compile);
   448 
   448 
   449   assert(_arena == NULL, "shouldn't only one instance of Compilation in existence at a time");
   449   assert(_arena == NULL, "shouldn't only one instance of Compilation in existence at a time");
   450   _arena = Thread::current()->resource_area();
   450   _arena = Thread::current()->resource_area();
   451   _compilation = this;
   451   _compilation = this;
   452   _needs_debug_information = _env->jvmti_can_examine_or_deopt_anywhere() ||
       
   453                                JavaMonitorsInStackTrace || AlwaysEmitDebugInfo || DeoptimizeALot;
       
   454   _exception_info_list = new ExceptionInfoList();
   452   _exception_info_list = new ExceptionInfoList();
   455   _implicit_exception_table.set_size(0);
   453   _implicit_exception_table.set_size(0);
   456   compile_method();
   454   compile_method();
   457 }
   455 }
   458 
   456