Integrated: 8293879: Remove unnecessary castings in jdk.hotspot.agent

Andrey Turbanov aturbanov at openjdk.org
Mon Sep 19 11:02:51 UTC 2022


On Thu, 15 Sep 2022 20:49:14 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> Redundant castings make code harder to read.
> Found them by IntelliJ IDEA.
> I tried to choose only casts which are definitely safe to remove.
> Most generification was done in [JDK-8241618](https://bugs.openjdk.org/browse/JDK-8241618), but casts weren't removed.

This pull request has now been integrated.

Changeset: 5725a93c
Author:    Andrey Turbanov <aturbanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/5725a93c078dac9775ccef04f3624647a8d38e83
Stats:     261 lines in 75 files changed: 0 ins; 8 del; 253 mod

8293879: Remove unnecessary castings in jdk.hotspot.agent

Reviewed-by: lmesnik, cjplummer

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

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


More information about the serviceability-dev mailing list