6991065: missed a review comment in 6829194
authortwisti
Tue, 12 Oct 2010 02:21:06 -0700
changeset 6773 48d5e03f373f
parent 6772 2563324665d5
child 6774 a224d6a24120
child 6775 633e4ce534ac
child 6777 409f81b76d89
6991065: missed a review comment in 6829194 Reviewed-by: kvn
hotspot/src/share/vm/classfile/classFileParser.cpp
--- a/hotspot/src/share/vm/classfile/classFileParser.cpp	Mon Oct 11 04:18:58 2010 -0700
+++ b/hotspot/src/share/vm/classfile/classFileParser.cpp	Tue Oct 12 02:21:06 2010 -0700
@@ -2704,13 +2704,13 @@
       fac_ptr->nonstatic_byte_count -= 1;
 
       (*fields_ptr)->ushort_at_put(i + instanceKlass::signature_index_offset, word_sig_index);
-      if (UseCompressedOops)  fac_ptr->nonstatic_double_count += 1;
-      else                    fac_ptr->nonstatic_word_count   += 1;
+      assert(wordSize == longSize || wordSize == jintSize, "ILP32 or LP64");
+      if (wordSize == longSize)  fac_ptr->nonstatic_double_count += 1;
+      else                       fac_ptr->nonstatic_word_count   += 1;
 
       FieldAllocationType atype = (FieldAllocationType) (*fields_ptr)->ushort_at(i + instanceKlass::low_offset);
       assert(atype == NONSTATIC_BYTE, "");
       FieldAllocationType new_atype = (wordSize == longSize) ? NONSTATIC_DOUBLE : NONSTATIC_WORD;
-      assert(wordSize == longSize || wordSize == jintSize, "ILP32 or LP64");
       (*fields_ptr)->ushort_at_put(i + instanceKlass::low_offset, new_atype);
 
       found_vmentry = true;