Loading... (original) (raw)

The current interface between the compilers and GC regarding the ReduceInitialCardMarks optimization lives in the CollectedHeap. However, the optimization is relevant only for collectors with a card mark barrier set (CardTableModRefBS). Therefore, this interface ought to be moved into CardTableModRef so that code gets less messy when a collector does not use card marking.

relates to

Bug - A problem which impairs or prevents the functions of the product. JDK-8198703 Missing #include "gc/shared/cardTableModRefBS.hpp" in graphKit.hpp