RFR: JDK-8180193: Make marking bitmap code available to other GCs

Aleksey Shipilev shade at redhat.com
Fri Aug 24 12:15:06 UTC 2018


On 08/24/2018 01:51 PM, Roman Kennke wrote:
> This moves marking bitmap code to gc/shared, at least the parts that are
> not G1 specific. The only minor functional change is in check_mark():
> replace is_in_exact() with is_in_reserved(). If that is not ok, then we
> may want to introduce virtual is_in_exact() in CollectedHeap?
> 
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8180193
> Webrev:
> http://cr.openjdk.java.net/~rkennke/JDK-8180193/webrev.00/

*) Stray file:
  src/hotspot/share/gc/shared/concurrentMarkBitMap.hpp~

*) Do we really need to call it *concurrent*MarkBitMap? I think shorter markBitMap is enough.

*) Ditto for the class name. It seems MarkBitMap is enough.

-Aleksey


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20180824/a9e0a227/signature.asc>


More information about the hotspot-gc-dev mailing list