RFR: 8218743: SA: Add support for large bitmaps

Stefan Karlsson stefan.karlsson at oracle.com
Mon Feb 11 12:36:57 UTC 2019

Hi all,

Please review this patch to add support for large bitmaps in the SA.


I've added a minimal interface (at, atPut, clear) that uses longs 
instead of ints, and changed MarkBits to use this interface.

I've implemented a segmented bitmap that, currently, all GCs use when 
asked for a bitmap in MarkBits. Later ZGC will provide its own 
discontiguous bitmap, implementing the new interface, but that will be 
sent out as a separate RFE.

I've tested this with a temporary patch that lowers the segment size and 
implements a jtreg test:

I ran through the all the tests in serviceability/sa with both these 


More information about the hotspot-gc-dev mailing list