RFR: JDK-8221751: Shenandoah: Improve SATB enqueueing

Andrew Haley aph at redhat.com
Tue Apr 2 15:22:37 UTC 2019


On 4/2/19 4:07 PM, Roman Kennke wrote:
> http://cr.openjdk.java.net/~rkennke/JDK-8221751/webrev.02/
> 
> Testing: Passes hotspot_gc_shenandoah both x86 and aarch64
> 
> Ok?

  54       __ cmp(count, zr);
  55       __ br(Assembler::EQ, done);

should be

  cbz(count, done);

and this

  60       __ mov(rscratch2, ShenandoahHeap::MARKING);
  61       __ tst(rscratch1, rscratch2);
  62       __ br(Assembler::EQ, done);

should be

  62       __ tbz(rscratch1, ShenandoahHeap::MARKING_BITPOS, done);

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the hotspot-gc-dev mailing list