6991065: missed a review comment in 6829194

Tue, 12 Oct 2010 02:21:06 -0700

author
twisti
date
Tue, 12 Oct 2010 02:21:06 -0700
changeset 2202
a932f331ef90
parent 2201
d55217dc206f
child 2203
c393f046f4c5
child 2204
5beba6174298
child 2206
357451a9ae6a

6991065: missed a review comment in 6829194
Reviewed-by: kvn

src/share/vm/classfile/classFileParser.cpp file | annotate | diff | comparison | revisions
     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