hg: jdk7/hotspot-gc/hotspot: 6843694: G1: assert(index < _vs.committed_size(), "bad index"), g1BlockOffsetTable.inline.hpp:55

john.cuthbertson at sun.com john.cuthbertson at sun.com
Fri Jun 12 02:47:12 UTC 2009

Changeset: d44bdab1c03d
Author:    johnc
Date:      2009-06-11 17:19 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/d44bdab1c03d

6843694: G1: assert(index < _vs.committed_size(),"bad index"), g1BlockOffsetTable.inline.hpp:55
Summary: For heaps larger than 32Gb, the number of heap regions overflows the data type used to hold the region index in the SparsePRT structure. Changed the region indexes, card indexes, and RSet hash table buckets to ints and added some size overflow guarantees.
Reviewed-by: ysr, tonyp

! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp
! src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp
! src/share/vm/gc_implementation/g1/sparsePRT.cpp
! src/share/vm/gc_implementation/g1/sparsePRT.hpp
! src/share/vm/gc_implementation/includeDB_gc_g1

More information about the hotspot-gc-dev mailing list