RFR: 8267773: PhaseStringOpts::int_stringSize doesn't handle min_jint correctly
Roland Westrelin
roland at openjdk.java.net
Mon May 31 07:04:20 UTC 2021
On Fri, 28 May 2021 20:56:54 GMT, Nils Eliasson <neliasso at openjdk.org> wrote:
> Hi,
>
> PhaseStringOpts::int_stringSize doesn't handle min_jint correctly - it can't be negated to a positive number. I fix this adding a special case for this.
>
> Added a test that was contributed by Adam who reported the bug. Will add as a contributor.
>
> Please review,
> Best regards,
> Nils Eliasson
Looks ok to me.
-------------
Marked as reviewed by roland (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/4255
More information about the hotspot-compiler-dev
mailing list