src/hotspot/share/gc/z/zMarkTerminate.hpp
changeset 58811 38f4701d6587
parent 50525 767cdb97f103
equal deleted inserted replaced
58810:3aba4a42d8ad 58811:38f4701d6587
    28 #include "memory/allocation.hpp"
    28 #include "memory/allocation.hpp"
    29 #include "utilities/globalDefinitions.hpp"
    29 #include "utilities/globalDefinitions.hpp"
    30 
    30 
    31 class ZMarkTerminate {
    31 class ZMarkTerminate {
    32 private:
    32 private:
    33   uint          _nworkers;
    33   uint                         _nworkers;
    34   volatile uint _nworking_stage0 ATTRIBUTE_ALIGNED(ZCacheLineSize);
    34   ZCACHE_ALIGNED volatile uint _nworking_stage0;
    35   volatile uint _nworking_stage1;
    35   volatile uint                _nworking_stage1;
    36 
    36 
    37   bool enter_stage(volatile uint* nworking_stage);
    37   bool enter_stage(volatile uint* nworking_stage);
    38   void exit_stage(volatile uint* nworking_stage);
    38   void exit_stage(volatile uint* nworking_stage);
    39   bool try_exit_stage(volatile uint* nworking_stage);
    39   bool try_exit_stage(volatile uint* nworking_stage);
    40 
    40