[Rev 01] RFR: 6708: Add santiy check when allocating Object arrays in parser

Marcus Hirt hirt at openjdk.java.net
Wed Feb 26 15:37:59 UTC 2020


On Wed, 26 Feb 2020 13:31:12 GMT, Henrik Dafgård <hdafgard at openjdk.org> wrote:

>> Checking the size of an array before allocating it is a decent sanity check so the parser doesn't end up reading massive arrays and causing OoMs due to incorrectly written recordings.
> 
> The pull request has been updated with 1 additional commit.

LGTM

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

Marked as reviewed by hirt (Lead).

PR: https://git.openjdk.java.net/jmc/pull/59


More information about the jmc-dev mailing list