RFR: 8075249: Cleanup forward_to_atomic and ClaimedForwardPtr

Kim Barrett kim.barrett at oracle.com
Mon Mar 16 17:50:17 UTC 2015


On Mar 16, 2015, at 12:22 PM, Stefan Karlsson <stefan.karlsson at oracle.com> 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.

Need to update copyrights on several files.





More information about the hotspot-gc-dev mailing list