< prev index next >

src/hotspot/share/gc/cms/cmsCardTable.cpp

Print this page

        

@@ -35,12 +35,12 @@
 #include "runtime/java.hpp"
 #include "runtime/mutexLocker.hpp"
 #include "runtime/orderAccess.inline.hpp"
 #include "runtime/vmThread.hpp"
 
-CMSCardTable::CMSCardTable(MemRegion whole_heap, bool scanned_concurrently) :
-    CardTableRS(whole_heap, scanned_concurrently) {
+CMSCardTable::CMSCardTable(MemRegion whole_heap) :
+    CardTableRS(whole_heap, CMSPrecleaningEnabled /* scanned_concurrently */) {
 }
 
 // Returns the number of chunks necessary to cover "mr".
 size_t CMSCardTable::chunks_to_cover(MemRegion mr) {
   return (size_t)(addr_to_chunk_index(mr.last()) -
< prev index next >