--- a/hotspot/src/share/vm/oops/instanceRefKlass.cpp Tue Aug 11 15:37:23 2009 -0700
+++ b/hotspot/src/share/vm/oops/instanceRefKlass.cpp Thu Aug 13 16:22:45 2009 -0700
@@ -407,7 +407,7 @@
// Check that the current map is (2,4) - currently points at field with
// offset 2 (words) and has 4 map entries.
debug_only(int offset = java_lang_ref_Reference::referent_offset);
- debug_only(int count = ((java_lang_ref_Reference::discovered_offset -
+ debug_only(unsigned int count = ((java_lang_ref_Reference::discovered_offset -
java_lang_ref_Reference::referent_offset)/heapOopSize) + 1);
if (UseSharedSpaces) {