src/hotspot/share/gc/g1/ptrQueue.hpp
changeset 51332 c25572739e7c
parent 49392 2956d0ece7a9
equal deleted inserted replaced
51331:7939b3c4e408 51332:c25572739e7c
   255 // A PtrQueueSet represents resources common to a set of pointer queues.
   255 // A PtrQueueSet represents resources common to a set of pointer queues.
   256 // In particular, the individual queues allocate buffers from this shared
   256 // In particular, the individual queues allocate buffers from this shared
   257 // set, and return completed buffers to the set.
   257 // set, and return completed buffers to the set.
   258 // All these variables are are protected by the TLOQ_CBL_mon. XXX ???
   258 // All these variables are are protected by the TLOQ_CBL_mon. XXX ???
   259 class PtrQueueSet {
   259 class PtrQueueSet {
   260 private:
       
   261   // The size of all buffers in the set.
   260   // The size of all buffers in the set.
   262   size_t _buffer_size;
   261   size_t _buffer_size;
   263 
   262 
   264 protected:
   263 protected:
   265   Monitor* _cbl_mon;  // Protects the fields below.
   264   Monitor* _cbl_mon;  // Protects the fields below.