Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/vm/interpreter/linkResolver.cpp
          +++ new/src/share/vm/interpreter/linkResolver.cpp
↓ open down ↓ 124 lines elided ↑ open up ↑
 125  125        // 'is_not_initialized' means not only '!is_initialized', but also that
 126  126        // initialization has not been started yet ('!being_initialized')
 127  127        // Do not force compilation of methods in uninitialized classes.
 128  128        // Note that doing this would throw an assert later,
 129  129        // in CompileBroker::compile_method.
 130  130        // We sometimes use the link resolver to do reflective lookups
 131  131        // even before classes are initialized.
 132  132        return;
 133  133      }
 134  134      CompileBroker::compile_method(selected_method, InvocationEntryBci,
 135      -                                  CompLevel_initial_compile,
      135 +                                  CompilationPolicy::policy()->initial_compile_level(),
 136  136                                    methodHandle(), 0, "must_be_compiled", CHECK);
 137  137    }
 138  138  }
 139  139  
 140  140  
 141  141  //------------------------------------------------------------------------------------------------------------------------
 142  142  // Klass resolution
 143  143  
 144  144  void LinkResolver::check_klass_accessability(KlassHandle ref_klass, KlassHandle sel_klass, TRAPS) {
 145  145    if (!Reflection::verify_class_access(ref_klass->as_klassOop(),
↓ open down ↓ 1017 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX