< prev index next >

src/hotspot/share/gc/z/zPage.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 54,64 **** _physical(pmem) { assert(!_physical.is_null(), "Should not be null"); assert(!_virtual.is_null(), "Should not be null"); assert((type == ZPageTypeSmall && size() == ZPageSizeSmall) || (type == ZPageTypeMedium && size() == ZPageSizeMedium) || ! (type == ZPageTypeLarge && is_aligned(size(), ZPageSizeMin)), "Page type/size mismatch"); } ZPage::~ZPage() { assert(!is_active(), "Should not be active"); --- 54,64 ---- _physical(pmem) { assert(!_physical.is_null(), "Should not be null"); assert(!_virtual.is_null(), "Should not be null"); assert((type == ZPageTypeSmall && size() == ZPageSizeSmall) || (type == ZPageTypeMedium && size() == ZPageSizeMedium) || ! (type == ZPageTypeLarge && is_aligned(size(), ZGranuleSize)), "Page type/size mismatch"); } ZPage::~ZPage() { assert(!is_active(), "Should not be active");
< prev index next >