diff ASSEMBLY_EXCEPTION @ 1717:688c3755d7af

6959014: G1: assert(minimum_desired_capacity <= maximum_desired_capacity) failed: sanity check Summary: There are a few issues in the code that calculates whether to resize the heap and by how much: a) some calculations can overflow 32-bit size_t's, b) min_desired_capacity is not bounded by the max heap size, and c) the assrt that fires is in the wrong place. The fix also includes some tidying up of the related verbose code. Reviewed-by: ysr, jmasa
author tonyp
date Tue, 17 Aug 2010 14:40:00 -0400
parents c18cbe5936b8
children
line wrap: on
line diff