RFR: 8294053: Unneeded local variable in handle_safefetch()
Thomas Stuefe
stuefe at openjdk.org
Fri Sep 23 07:50:16 UTC 2022
On Wed, 21 Sep 2022 10:11:55 GMT, Fredrik Bredberg <duke at openjdk.org> wrote:
> The input argument "pc" is shadowed by a local variable with the same type and name, and is initialized to the same value as is passed into the handle_safefetch() function by its callers. The local "pc" variable can therefore be removed from handle_safefetch().
>
> Tested tier1, tier2 and tier3 without any new problems.
I think its fine as it is. One thing less to cleanup with JDK-8292166.
-------------
Marked as reviewed by stuefe (Reviewer).
PR: https://git.openjdk.org/jdk/pull/10373
More information about the hotspot-runtime-dev
mailing list