[PATCH] JDK-8176571: Fine bitmaps should be allocated as belonging to mtGC

Kim Barrett kim.barrett at oracle.com
Wed Jun 14 17:48:04 UTC 2017

> On Jun 14, 2017, at 9:59 AM, Milan Mimica <Milan.Mimica at infobip.com> wrote:
>> I also uploaded a webrev for JDK-8176571 based on the above to
>> http://cr.openjdk.java.net/~tschatzl/8176571/webrev
>> Looks good to me too, but is there a reason to not use default parameters for the CHeapBitmap constructors?
> I'd rather somehow make the argument mandatory, to force people to choose a memory category.

I would support making the argument mandatory.  All non-test callers are presently in g1, and
are already being touched to change them to explicitly use mtGC, so would not be affected by
such a change.  But there are some callers in test_bitMap and test_bitMap_search native tests
that would need to be fixed.

More information about the hotspot-gc-dev mailing list