hotspot/src/share/vm/oops/klass.hpp
changeset 17370 59a0620561fa
parent 15928 f9d5c6e4107f
child 17373 7d8bb2a8787e
equal deleted inserted replaced
17367:64c84d620e5c 17370:59a0620561fa
   393 
   393 
   394   // vtables
   394   // vtables
   395   virtual klassVtable* vtable() const        { return NULL; }
   395   virtual klassVtable* vtable() const        { return NULL; }
   396 
   396 
   397   // subclass check
   397   // subclass check
   398   bool is_subclass_of(Klass* k) const;
   398   bool is_subclass_of(const Klass* k) const;
   399   // subtype check: true if is_subclass_of, or if k is interface and receiver implements it
   399   // subtype check: true if is_subclass_of, or if k is interface and receiver implements it
   400   bool is_subtype_of(Klass* k) const {
   400   bool is_subtype_of(Klass* k) const {
   401     juint    off = k->super_check_offset();
   401     juint    off = k->super_check_offset();
   402     Klass* sup = *(Klass**)( (address)this + off );
   402     Klass* sup = *(Klass**)( (address)this + off );
   403     const juint secondary_offset = in_bytes(secondary_super_cache_offset());
   403     const juint secondary_offset = in_bytes(secondary_super_cache_offset());