src/hotspot/share/gc/shared/taskqueue.hpp
changeset 53544 aed190ed8549
parent 53244 9807daeb47c4
child 53545 2c38991dd9b0
equal deleted inserted replaced
53543:cd21b52e4055 53544:aed190ed8549
   449 
   449 
   450 class ParallelTaskTerminator: public CHeapObj<mtGC> {
   450 class ParallelTaskTerminator: public CHeapObj<mtGC> {
   451 protected:
   451 protected:
   452   uint _n_threads;
   452   uint _n_threads;
   453   TaskQueueSetSuper* _queue_set;
   453   TaskQueueSetSuper* _queue_set;
       
   454 
       
   455   DEFINE_PAD_MINUS_SIZE(0, DEFAULT_CACHE_LINE_SIZE, 0);
   454   volatile uint _offered_termination;
   456   volatile uint _offered_termination;
       
   457   DEFINE_PAD_MINUS_SIZE(1, DEFAULT_CACHE_LINE_SIZE, sizeof(volatile uint));
   455 
   458 
   456 #ifdef TRACESPINNING
   459 #ifdef TRACESPINNING
   457   static uint _total_yields;
   460   static uint _total_yields;
   458   static uint _total_spins;
   461   static uint _total_spins;
   459   static uint _total_peeks;
   462   static uint _total_peeks;