RFR: JDK-8061259: ParNew promotion failed is serialized on a lock
Kim Barrett
kim.barrett at oracle.com
Mon Nov 17 15:57:22 UTC 2014
On Nov 17, 2014, at 5:11 AM, Bengt Rutisson <bengt.rutisson at oracle.com> wrote:
>
>> I think this does leave open the possibility of moving the
>> _promotion_failed flag check earlier in copy_to_survivor_space_XXX(),
>> […]
>>
>> I'm not sure it would be overall beneficial though, […]
>
> Yes, there is probably room for more improvement here. I think adding the check in the copy_to_survivor_space_XXX_undo() methods is a clear improvement in many cases. So, doing that as a first step is a good start. We can consider moving it earlier as a future enhancement.
Agreed.
More information about the hotspot-gc-dev
mailing list