RFR: 8075249: Cleanup forward_to_atomic and ClaimedForwardPtr

Stefan Karlsson stefan.karlsson at oracle.com
Mon Mar 16 21:25:42 UTC 2015


On 2015-03-16 21:48, Thomas Schatzl wrote:
> 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.

StefanK

>
> Thanks,
>    Thomas
>




More information about the hotspot-gc-dev mailing list