hotspot/src/share/vm/memory/blockOffsetTable.cpp
changeset 1374 4c24294029a9
parent 1 489c9b5090e2
child 5402 c51fd0c1d005
--- a/hotspot/src/share/vm/memory/blockOffsetTable.cpp	Wed Jun 04 13:51:09 2008 -0700
+++ b/hotspot/src/share/vm/memory/blockOffsetTable.cpp	Thu Jun 05 15:57:56 2008 -0700
@@ -184,7 +184,7 @@
     "Offset card has an unexpected value");
   size_t start_card_for_region = start_card;
   u_char offset = max_jubyte;
-  for (int i = 0; i <= N_powers-1; i++) {
+  for (int i = 0; i < N_powers; i++) {
     // -1 so that the the card with the actual offset is counted.  Another -1
     // so that the reach ends in this region and not at the start
     // of the next.