comparison 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
comparison
equal deleted inserted replaced
1396:d7f654633cfe 1397:b4776199210f
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