Mercurial > hg > graal-jvmci-8
diff src/share/vm/memory/blockOffsetTable.cpp @ 342:37f87013dfd8
6711316: Open source the Garbage-First garbage collector
Summary: First mercurial integration of the code for the Garbage-First garbage collector.
Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr
author | ysr |
---|---|
date | Thu, 05 Jun 2008 15:57:56 -0700 |
parents | a61af66fc99e |
children | cff162798819 |
line wrap: on
line diff
--- a/src/share/vm/memory/blockOffsetTable.cpp Wed Jun 04 13:51:09 2008 -0700 +++ b/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.