< prev index next >
src/hotspot/share/gc/z/zPageTable.hpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2015, 2018, 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.
*** 34,44 ****
class ZPageTable {
friend class VMStructs;
friend class ZPageTableIterator;
private:
! ZAddressRangeMap<ZPageTableEntry, ZPageSizeMinShift> _map;
ZPageTableEntry get_entry(ZPage* page) const;
void put_entry(ZPage* page, ZPageTableEntry entry);
public:
--- 34,44 ----
class ZPageTable {
friend class VMStructs;
friend class ZPageTableIterator;
private:
! ZAddressRangeMap<ZPageTableEntry, ZGranuleSizeShift> _map;
ZPageTableEntry get_entry(ZPage* page) const;
void put_entry(ZPage* page, ZPageTableEntry entry);
public:
*** 53,63 ****
void clear_relocating(ZPage* page);
};
class ZPageTableIterator : public StackObj {
private:
! ZAddressRangeMapIterator<ZPageTableEntry, ZPageSizeMinShift> _iter;
ZPage* _prev;
public:
ZPageTableIterator(const ZPageTable* pagetable);
--- 53,63 ----
void clear_relocating(ZPage* page);
};
class ZPageTableIterator : public StackObj {
private:
! ZAddressRangeMapIterator<ZPageTableEntry, ZGranuleSizeShift> _iter;
ZPage* _prev;
public:
ZPageTableIterator(const ZPageTable* pagetable);
< prev index next >