< prev index next >

src/hotspot/share/gc/shared/cardTable.cpp

Print this page
@@ -42,11 +42,11 @@
  uint CardTable::_card_shift = 0;
  uint CardTable::_card_size = 0;
  uint CardTable::_card_size_in_words = 0;
  
  void CardTable::initialize_card_size() {
-   assert(UseG1GC || UseParallelGC || UseSerialGC,
+   assert(UseG1GC || UseParallelGC || UseSerialGC || UseShenandoahGC,
           "Initialize card size should only be called by card based collectors.");
  
    _card_size = GCCardSizeInBytes;
    _card_shift = log2i_exact(_card_size);
    _card_size_in_words = _card_size / sizeof(HeapWord);
< prev index next >