src/share/vm/c1/c1_Compilation.cpp

changeset 1215
c96bf21b756f
parent 435
a61af66fc99e
child 1279
bd02caa94611
     1.1 --- a/src/share/vm/c1/c1_Compilation.cpp	Fri May 08 10:34:31 2009 -0700
     1.2 +++ b/src/share/vm/c1/c1_Compilation.cpp	Fri May 08 10:44:20 2009 -0700
     1.3 @@ -319,7 +319,7 @@
     1.4      return;
     1.5    }
     1.6  
     1.7 -  if (JvmtiExport::can_hotswap_or_post_breakpoint()) {
     1.8 +  if (_env->jvmti_can_hotswap_or_post_breakpoint()) {
     1.9      // We can assert evol_method because method->can_be_compiled is true.
    1.10      dependency_recorder()->assert_evol_method(method());
    1.11    }
    1.12 @@ -435,7 +435,7 @@
    1.13    assert(_arena == NULL, "shouldn't only one instance of Compilation in existence at a time");
    1.14    _arena = Thread::current()->resource_area();
    1.15    _compilation = this;
    1.16 -  _needs_debug_information = JvmtiExport::can_examine_or_deopt_anywhere() ||
    1.17 +  _needs_debug_information = _env->jvmti_can_examine_or_deopt_anywhere() ||
    1.18                                 JavaMonitorsInStackTrace || AlwaysEmitDebugInfo || DeoptimizeALot;
    1.19    _exception_info_list = new ExceptionInfoList();
    1.20    _implicit_exception_table.set_size(0);

mercurial