RFR: 8075249: Cleanup forward_to_atomic and ClaimedForwardPtr
Thomas Schatzl
thomas.schatzl at oracle.com
Mon Mar 16 20:48:59 UTC 2015
Hi,
On Mon, 2015-03-16 at 17:22 +0100, Stefan Karlsson wrote:
> Hi,
>
> Please remove this patch to remove some coupling between ParNew, G1,
> and ParCompact.
>
> oopDesc::forward_to_atomic is used by ParNew and G1, but it contains a
> call to ParNew specific code.
>
> It's defined in oop.pcgc.inline.hpp, which is a ParCompact specific file.
>
> I propose that we fix both issues by moving forward_to_atomic to
> oop.inline.hpp and move the ParNew specific code out to ParNew.
>
> http://cr.openjdk.java.net/~stefank/8075249/webrev.01/
> https://bugs.openjdk.java.net/browse/JDK-8075249
>
looks good.
Thanks,
Thomas
More information about the hotspot-gc-dev
mailing list