diff src/share/vm/memory/genOopClosures.inline.hpp @ 14909:4ca6dc0799b6

Backout jdk9 merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Tue, 01 Apr 2014 13:57:07 +0200
parents 284953caf7aa
children
line wrap: on
line diff
--- a/src/share/vm/memory/genOopClosures.inline.hpp	Tue Apr 01 14:09:03 2014 +0200
+++ b/src/share/vm/memory/genOopClosures.inline.hpp	Tue Apr 01 13:57:07 2014 +0200
@@ -45,6 +45,7 @@
   // Barrier set for the heap, must be set after heap is initialized
   if (_rs == NULL) {
     GenRemSet* rs = SharedHeap::heap()->rem_set();
+    assert(rs->rs_kind() == GenRemSet::CardTable, "Wrong rem set kind");
     _rs = (CardTableRS*)rs;
   }
 }