src/hotspot/share/gc/z/zPage.cpp
changeset 58708 f74ec3cbfcc0
parent 54834 39ba09047e19
equal deleted inserted replaced
58707:810409af12f1 58708:f74ec3cbfcc0
    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 #include "precompiled.hpp"
    24 #include "precompiled.hpp"
       
    25 #include "gc/z/zList.inline.hpp"
    25 #include "gc/z/zPage.inline.hpp"
    26 #include "gc/z/zPage.inline.hpp"
    26 #include "gc/z/zPhysicalMemory.inline.hpp"
    27 #include "gc/z/zPhysicalMemory.inline.hpp"
    27 #include "gc/z/zVirtualMemory.inline.hpp"
    28 #include "gc/z/zVirtualMemory.inline.hpp"
    28 #include "utilities/align.hpp"
    29 #include "utilities/align.hpp"
    29 #include "utilities/debug.hpp"
    30 #include "utilities/debug.hpp"
    49     _livemap(object_max_count()),
    50     _livemap(object_max_count()),
    50     _last_used(0),
    51     _last_used(0),
    51     _physical(pmem) {
    52     _physical(pmem) {
    52   assert_initialized();
    53   assert_initialized();
    53 }
    54 }
       
    55 
       
    56 ZPage::~ZPage() {}
    54 
    57 
    55 void ZPage::assert_initialized() const {
    58 void ZPage::assert_initialized() const {
    56   assert(!_virtual.is_null(), "Should not be null");
    59   assert(!_virtual.is_null(), "Should not be null");
    57   assert(!_physical.is_null(), "Should not be null");
    60   assert(!_physical.is_null(), "Should not be null");
    58   assert((_type == ZPageTypeSmall && size() == ZPageSizeSmall) ||
    61   assert((_type == ZPageTypeSmall && size() == ZPageSizeSmall) ||