commit | 6110c052aa8314a25d174c5e61b32f2271dfcfab | [log] [tgz] |
---|---|---|
author | John Cuthbertson <johnc@openjdk.org> | Thu Apr 15 15:52:55 2010 -0700 |
committer | John Cuthbertson <johnc@openjdk.org> | Thu Apr 15 15:52:55 2010 -0700 |
tree | 4c276140508907cdcc3d2210b5d9ad81d415daf1 | |
parent | 9b4fc8fc235e11a577c6ac7578ab6cfe5251014f [diff] |
6943926: G1: Integer overflow during heap region verification 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