RFR: 8293647: Avoid unnecessary boxing in jdk.hotspot.agent

Serguei Spitsyn sspitsyn at openjdk.org
Mon Sep 12 21:32:02 UTC 2022


On Mon, 12 Sep 2022 12:35:30 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> Usages of methods `Integer.valueOf`, `Boolean.valueOf`, `Long.valueOf` often can be simplified by using their pair methods `parseInt`/`parseBoolean`/`parseLong`.

Looks good.
Thanks,
Serguei

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

Marked as reviewed by sspitsyn (Reviewer).

PR: https://git.openjdk.org/jdk/pull/10237


More information about the serviceability-dev mailing list