RFR: 8281035: Serial: Move RemoveForwardedPointerClosure to local scope
Kim Barrett
kbarrett at openjdk.java.net
Tue Feb 1 15:44:06 UTC 2022
On Tue, 1 Feb 2022 11:01:51 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> Simple change of moving `RemoveForwardedPointerClosure` from shared code to Serial code.
>
> Test: hotspot_gc
Marked as reviewed by kbarrett (Reviewer).
src/hotspot/share/gc/serial/defNewGeneration.cpp line 684:
> 682: }
> 683: };
> 684: ResetForwardedMarkWord cl;
`cl` could be declared as part of the struct declaration, rather than separately, thereby eliminating the additional occurrence of `ResetForwardedMarkWord`. Your call...
-------------
PR: https://git.openjdk.java.net/jdk/pull/7301
More information about the hotspot-gc-dev
mailing list