< prev index next >

src/hotspot/share/gc/z/zBarrierSet.cpp

Print this page

        

@@ -64,10 +64,11 @@
 bool ZBarrierSet::barrier_needed(DecoratorSet decorators, BasicType type) {
   assert((decorators & AS_RAW) == 0, "Unexpected decorator");
   assert((decorators & AS_NO_KEEPALIVE) == 0, "Unexpected decorator");
   //assert((decorators & ON_UNKNOWN_OOP_REF) == 0, "Unexpected decorator");
 
+  assert(type != T_VALUETYPE, "Not supported yet");
   if (type == T_OBJECT || type == T_ARRAY) {
     assert((decorators & (IN_HEAP | IN_NATIVE)) != 0, "Where is reference?");
     // Barrier needed even when IN_NATIVE, to allow concurrent scanning.
     return true;
   }
< prev index next >