src/hotspot/share/gc/z/zBarrierSet.cpp
changeset 50875 2217b2fc29ea
parent 50803 45c1fde86050
child 51341 09cc8813ae51
equal deleted inserted replaced
50874:551c340ca01a 50875:2217b2fc29ea
    51     assert((decorators & (IN_HEAP | IN_NATIVE)) != 0, "Where is reference?");
    51     assert((decorators & (IN_HEAP | IN_NATIVE)) != 0, "Where is reference?");
    52     // Barrier needed even when IN_NATIVE, to allow concurrent scanning.
    52     // Barrier needed even when IN_NATIVE, to allow concurrent scanning.
    53     return true;
    53     return true;
    54   }
    54   }
    55 
    55 
    56   // Barrier not neeed
    56   // Barrier not needed
    57   return false;
    57   return false;
    58 }
    58 }
    59 
    59 
    60 void ZBarrierSet::on_thread_create(Thread* thread) {
    60 void ZBarrierSet::on_thread_create(Thread* thread) {
    61   // Create thread local data
    61   // Create thread local data