mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-07 09:39:15 +00:00
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