hg: jdk7/hotspot-gc/hotspot: 6943926: G1: Integer overflow during heap region verification

john.cuthbertson at sun.com john.cuthbertson at sun.com
Thu Apr 15 17:57:24 PDT 2010


Changeset: 5dbd9300cf9c
Author:    johnc
Date:      2010-04-15 15:52 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/5dbd9300cf9c

6943926: G1: Integer overflow during heap region verification
Summary: The expression that calculates the live bytes for a heap region can overflow for a suitably large humongous region/object. Cache the object size in a suitably sized local variable so that the expression is converted to a wider type.
Reviewed-by: tonyp, jmasa, iveresov, apetrusenko

! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp



More information about the hotspot-gc-dev mailing list