On Thu, 26 Nov 2020 18:29:42 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> 
wrote:

> There is a subtle bug in the heap segment factories: the byte size is 
> computed using an int multiplication instead of a long multiplication. 
> Because of that, it is possible to observe overflow when creating segments 
> out of arrays whose carrier has a byte size greater than one.

This pull request has now been integrated.

Changeset: bbc44f57
Author:    Maurizio Cimadamore <mcimadam...@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/bbc44f57
Stats:     29 lines in 2 files changed: 21 ins; 0 del; 8 mod

8257186: Size of heap segments is not computed correctlyFix overflow in size 
computation for heap segments

Reviewed-by: jvernee, chegar

-------------

PR: https://git.openjdk.java.net/jdk/pull/1466

Reply via email to