G1 Performance [Was: JEP 248: Make G1 the Default Garbage Collector]
vitalyd at gmail.com
Thu Jul 30 12:40:14 UTC 2015
Yes, but that StoreLoad is effectively a full fence on at least x86.
sent from my phone
On Jul 30, 2015 3:49 AM, "Andrew Dinn" <adinn at redhat.com> wrote:
> On 29/07/15 19:27, Vitaly Davidovich wrote:
> > IIRC Erik's proposal involves TLB shootdowns, which I'm not sure will
> > this up. A few months back there was a discussion around this in the
> > context of adding full fence with CMS when UseConditionalCardMarking is
> > enabled (which I'm not sure if that change went in actually) and
> > interaction with precleaning.
> A change did go in but not quite as you describe it. As a fix for
> JDK-8079315 a /StoreLoad/ barrier was added -- see this changeset:
> I agree that TLB shootdowns are unlikely to improve performance -- also,
> they are a hostage to fortune since you are at the mercy of the OS
> implementation as regards both performance and, perhaps to a lesser
> degree, correctness.
> Andrew Dinn
More information about the hotspot-dev