hotspot/src/share/vm/gc/g1/dirtyCardQueue.hpp
changeset 34148 6efbc7ffd767
parent 34141 1030e4216817
child 35465 34ab60aee787
equal deleted inserted replaced
34147:8726d73d17fb 34148:6efbc7ffd767
    70                                       bool consume = true,
    70                                       bool consume = true,
    71                                       uint worker_i = 0);
    71                                       uint worker_i = 0);
    72   void **get_buf() { return _buf;}
    72   void **get_buf() { return _buf;}
    73   size_t get_index() { return _index;}
    73   size_t get_index() { return _index;}
    74   void reinitialize() { _buf = 0; _sz = 0; _index = 0;}
    74   void reinitialize() { _buf = 0; _sz = 0; _index = 0;}
       
    75 
       
    76   // Compiler support.
       
    77   static ByteSize byte_offset_of_index() {
       
    78     return PtrQueue::byte_offset_of_index<DirtyCardQueue>();
       
    79   }
       
    80   using PtrQueue::byte_width_of_index;
       
    81 
       
    82   static ByteSize byte_offset_of_buf() {
       
    83     return PtrQueue::byte_offset_of_buf<DirtyCardQueue>();
       
    84   }
       
    85   using PtrQueue::byte_width_of_buf;
       
    86 
    75 };
    87 };
    76 
    88 
    77 
    89 
    78 
    90 
    79 class DirtyCardQueueSet: public PtrQueueSet {
    91 class DirtyCardQueueSet: public PtrQueueSet {