src/share/vm/ci/ciInstanceKlass.hpp

changeset 5914
d13d7aba8c12
parent 5110
6f3fd5150b67
child 6050
4d3575d37a07
     1.1 --- a/src/share/vm/ci/ciInstanceKlass.hpp	Wed Oct 09 11:05:17 2013 -0700
     1.2 +++ b/src/share/vm/ci/ciInstanceKlass.hpp	Wed Oct 09 16:32:21 2013 +0200
     1.3 @@ -235,6 +235,13 @@
     1.4    bool is_instance_klass() const { return true; }
     1.5    bool is_java_klass() const     { return true; }
     1.6  
     1.7 +  virtual ciKlass* exact_klass() {
     1.8 +    if (is_loaded() && is_final() && !is_interface()) {
     1.9 +      return this;
    1.10 +    }
    1.11 +    return NULL;
    1.12 +  }
    1.13 +
    1.14    // Dump the current state of this klass for compilation replay.
    1.15    virtual void dump_replay_data(outputStream* out);
    1.16  };

mercurial