< prev index next >

src/hotspot/share/ci/ciInstanceKlass.hpp

Print this page
@@ -42,10 +42,11 @@
    friend class ciEnv;
    friend class ciExceptionHandler;
    friend class ciMethod;
    friend class ciField;
    friend class ciReplay;
+   friend class CompileTrainingData;
  
  private:
    enum SubklassValue { subklass_unknown, subklass_false, subklass_true };
  
    jobject                _loader;

@@ -117,10 +118,12 @@
      if (_is_shared && _init_state != expected) {
        if (is_loaded()) compute_shared_init_state();
      }
    }
  
+   static InstanceKlass::ClassState compute_init_state(InstanceKlass* ik);
+ 
  public:
    // Has this klass been initialized?
    bool                   is_initialized() {
      update_if_shared(InstanceKlass::fully_initialized);
      return _init_state == InstanceKlass::fully_initialized;
< prev index next >