src/share/vm/memory/blockOffsetTable.cpp

changeset 777
37f87013dfd8
parent 435
a61af66fc99e
child 1844
cff162798819
     1.1 --- a/src/share/vm/memory/blockOffsetTable.cpp	Wed Jun 04 13:51:09 2008 -0700
     1.2 +++ b/src/share/vm/memory/blockOffsetTable.cpp	Thu Jun 05 15:57:56 2008 -0700
     1.3 @@ -184,7 +184,7 @@
     1.4      "Offset card has an unexpected value");
     1.5    size_t start_card_for_region = start_card;
     1.6    u_char offset = max_jubyte;
     1.7 -  for (int i = 0; i <= N_powers-1; i++) {
     1.8 +  for (int i = 0; i < N_powers; i++) {
     1.9      // -1 so that the the card with the actual offset is counted.  Another -1
    1.10      // so that the reach ends in this region and not at the start
    1.11      // of the next.

mercurial