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

Andrey Turbanov aturbanov at openjdk.org
Mon Sep 12 12:58:35 UTC 2022


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

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

Commit messages:
 - 8293647: Avoid unnecessary boxing in jdk.hotspot.agent
 - [PATCH] Avoid unnecessary boxing in jdk.hotspot.agent

Changes: https://git.openjdk.org/jdk/pull/10237/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10237&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8293647
  Stats: 16 lines in 3 files changed: 0 ins; 0 del; 16 mod
  Patch: https://git.openjdk.org/jdk/pull/10237.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10237/head:pull/10237

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


More information about the serviceability-dev mailing list