RFR(XS) 8138891: C1: Missing release memory barrier in C1's CMS post-barrier
martin.doerr at sap.com
Wed Oct 7 13:15:55 UTC 2015
thanks for reviewing, Igor.
Can any aarch64 expert comment on this? Are there known CMS problems?
I couldn’t find a release barrier for the card mark store in C1 while I believe there is a releasing store in C2.
This change adds a dmb instruction in front of the card mark store in C1 if ConcMarkSweepGC is used.
From: Igor Veresov [mailto:igor.veresov at oracle.com]
Sent: Mittwoch, 7. Oktober 2015 01:42
To: Doerr, Martin
Cc: hotspot compiler
Subject: Re: RFR(XS) 8138891: C1: Missing release memory barrier in C1's CMS post-barrier
On Oct 6, 2015, at 7:24 AM, Doerr, Martin <martin.doerr at sap.com<mailto:martin.doerr at sap.com>> wrote:
the dirty marking of the card table needs to be a releasing store for CMS. It's already there in template interpreter and C2 on PPC64. We have seen GC crashed when testing C1 on PPC64.
Unfortunately, C1 does currently not support releasing stores (or load-acquire) which could be exploited on aarch64 or ia64. Hence, we’re using a membar_store_store.
This change is a prerequisite for our C1 on PPC64 contribution.
Webrev is here:
Please review this change. I need a sponsor, please.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev