src/share/vm/classfile/classFileParser.cpp

changeset 2202
a932f331ef90
parent 2201
d55217dc206f
child 2236
6412b3805cd6
child 2264
d2e35ffae982
     1.1 --- a/src/share/vm/classfile/classFileParser.cpp	Mon Oct 11 04:18:58 2010 -0700
     1.2 +++ b/src/share/vm/classfile/classFileParser.cpp	Tue Oct 12 02:21:06 2010 -0700
     1.3 @@ -2704,13 +2704,13 @@
     1.4        fac_ptr->nonstatic_byte_count -= 1;
     1.5  
     1.6        (*fields_ptr)->ushort_at_put(i + instanceKlass::signature_index_offset, word_sig_index);
     1.7 -      if (UseCompressedOops)  fac_ptr->nonstatic_double_count += 1;
     1.8 -      else                    fac_ptr->nonstatic_word_count   += 1;
     1.9 +      assert(wordSize == longSize || wordSize == jintSize, "ILP32 or LP64");
    1.10 +      if (wordSize == longSize)  fac_ptr->nonstatic_double_count += 1;
    1.11 +      else                       fac_ptr->nonstatic_word_count   += 1;
    1.12  
    1.13        FieldAllocationType atype = (FieldAllocationType) (*fields_ptr)->ushort_at(i + instanceKlass::low_offset);
    1.14        assert(atype == NONSTATIC_BYTE, "");
    1.15        FieldAllocationType new_atype = (wordSize == longSize) ? NONSTATIC_DOUBLE : NONSTATIC_WORD;
    1.16 -      assert(wordSize == longSize || wordSize == jintSize, "ILP32 or LP64");
    1.17        (*fields_ptr)->ushort_at_put(i + instanceKlass::low_offset, new_atype);
    1.18  
    1.19        found_vmentry = true;

mercurial