hotspot/src/share/vm/opto/graphKit.cpp
changeset 196 9877b922afc4
parent 1 489c9b5090e2
child 202 dc13bf0e5d5d
--- a/hotspot/src/share/vm/opto/graphKit.cpp	Thu Jan 17 13:38:17 2008 -0800
+++ b/hotspot/src/share/vm/opto/graphKit.cpp	Tue Feb 12 18:37:50 2008 -0800
@@ -2808,7 +2808,7 @@
       ciInstanceKlass* ik = oop_type->klass()->as_instance_klass();
       for (int i = 0, len = ik->nof_nonstatic_fields(); i < len; i++) {
         ciField* field = ik->nonstatic_field_at(i);
-        if (field->offset() >= TrackedInitializationLimit)
+        if (field->offset() >= TrackedInitializationLimit * HeapWordSize)
           continue;  // do not bother to track really large numbers of fields
         // Find (or create) the alias category for this field:
         int fieldidx = C->alias_type(field)->index();