RFR: 8075249: Cleanup forward_to_atomic and ClaimedForwardPtr

Stefan Karlsson stefan.karlsson at oracle.com
Mon Mar 16 21:13:06 UTC 2015

On 2015-03-16 18:50, Kim Barrett wrote:
> 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.

Thanks, Kim.

> Need to update copyrights on several files.

I'll fix before I push this change.



More information about the hotspot-gc-dev mailing list