src/hotspot/share/gc/shenandoah/shenandoahMemoryPool.hpp
changeset 53244 9807daeb47c4
parent 52925 9c18c9d839d3
equal deleted inserted replaced
53243:8bea4144b21c 53244:9807daeb47c4
    19  * or visit www.oracle.com if you need additional information or have any
    19  * or visit www.oracle.com if you need additional information or have any
    20  * questions.
    20  * questions.
    21  *
    21  *
    22  */
    22  */
    23 
    23 
    24 #ifndef SHARE_VM_SERVICES_SHENANDOAHMEMORYPOOL_HPP
    24 #ifndef SHARE_GC_SHENANDOAH_SHENANDOAHMEMORYPOOL_HPP
    25 #define SHARE_VM_SERVICES_SHENANDOAHMEMORYPOOL_HPP
    25 #define SHARE_GC_SHENANDOAH_SHENANDOAHMEMORYPOOL_HPP
    26 
    26 
    27 #ifndef SERIALGC
    27 #ifndef SERIALGC
    28 #include "gc/shenandoah/shenandoahHeap.hpp"
    28 #include "gc/shenandoah/shenandoahHeap.hpp"
    29 #include "services/memoryPool.hpp"
    29 #include "services/memoryPool.hpp"
    30 #include "services/memoryUsage.hpp"
    30 #include "services/memoryUsage.hpp"
    39   MemoryUsage get_memory_usage();
    39   MemoryUsage get_memory_usage();
    40   size_t used_in_bytes()              { return _heap->used(); }
    40   size_t used_in_bytes()              { return _heap->used(); }
    41   size_t max_size() const             { return _heap->max_capacity(); }
    41   size_t max_size() const             { return _heap->max_capacity(); }
    42 };
    42 };
    43 
    43 
    44 #endif //SHARE_VM_SERVICES_SHENANDOAHMEMORYPOOL_HPP
    44 #endif // SHARE_GC_SHENANDOAH_SHENANDOAHMEMORYPOOL_HPP