RFR: Update counters on slow-path more rarely

Aleksey Shipilev shade at redhat.com
Wed Aug 30 17:06:02 UTC 2017


Running with -UseTLAB, thus stressing shared allocations, is slow because we update the counters
even for the minuscule shared allocations. It makes sense to do this only when new region is claimed
during shared alloc.

Fix:
  http://cr.openjdk.java.net/~shade/shenandoah/alloc-lazier-counters/webrev.01/

Also removes some superfluous asserts and refactors a bit

Testing: hotspot_gc_shenandoah

Thanks,
-Aleksey



More information about the shenandoah-dev mailing list