RFR: 8294053: Unneeded local variable in handle_safefetch()
Robbin Ehn
rehn at openjdk.org
Thu Sep 22 08:05:23 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.
Looks good, thanks!
-------------
Marked as reviewed by rehn (Reviewer).
PR: https://git.openjdk.org/jdk/pull/10373
More information about the hotspot-runtime-dev
mailing list