< prev index next >

src/hotspot/share/oops/constantPool.hpp

Print this page
*** 267,11 ***
    static ByteSize pool_holder_offset()  { return byte_offset_of(ConstantPool, _pool_holder); }
    static ByteSize resolved_klasses_offset()    { return byte_offset_of(ConstantPool, _resolved_klasses); }
  
    // Storing constants
  
!   // For temporary use while constructing constant pool
    void klass_index_at_put(int cp_index, int name_index) {
      tag_at_put(cp_index, JVM_CONSTANT_ClassIndex);
      *int_at_addr(cp_index) = name_index;
    }
  
--- 267,11 ---
    static ByteSize pool_holder_offset()  { return byte_offset_of(ConstantPool, _pool_holder); }
    static ByteSize resolved_klasses_offset()    { return byte_offset_of(ConstantPool, _resolved_klasses); }
  
    // Storing constants
  
!   // For temporary use while constructing constant pool. Used during a retransform/class redefinition as well.
    void klass_index_at_put(int cp_index, int name_index) {
      tag_at_put(cp_index, JVM_CONSTANT_ClassIndex);
      *int_at_addr(cp_index) = name_index;
    }
  
< prev index next >