hotspot/src/share/vm/memory/blockOffsetTable.hpp
changeset 7397 5b173b4ca846
parent 6274 a4a2e26fe2d0
child 13195 be27e1b6a4b9
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
    24 
    24 
       
    25 #ifndef SHARE_VM_MEMORY_BLOCKOFFSETTABLE_HPP
       
    26 #define SHARE_VM_MEMORY_BLOCKOFFSETTABLE_HPP
       
    27 
       
    28 #include "memory/memRegion.hpp"
       
    29 #include "runtime/virtualspace.hpp"
       
    30 #include "utilities/globalDefinitions.hpp"
       
    31 
    25 // The CollectedHeap type requires subtypes to implement a method
    32 // The CollectedHeap type requires subtypes to implement a method
    26 // "block_start".  For some subtypes, notably generational
    33 // "block_start".  For some subtypes, notably generational
    27 // systems using card-table-based write barriers, the efficiency of this
    34 // systems using card-table-based write barriers, the efficiency of this
    28 // operation may be important.  Implementations of the "BlockOffsetArray"
    35 // operation may be important.  Implementations of the "BlockOffsetArray"
    29 // class may be useful in providing such efficient implementations.
    36 // class may be useful in providing such efficient implementations.
   559   void serialize(SerializeOopClosure* soc);
   566   void serialize(SerializeOopClosure* soc);
   560 
   567 
   561   // Debugging support
   568   // Debugging support
   562   virtual size_t last_active_index() const;
   569   virtual size_t last_active_index() const;
   563 };
   570 };
       
   571 
       
   572 #endif // SHARE_VM_MEMORY_BLOCKOFFSETTABLE_HPP