< prev index next >

src/hotspot/share/gc/z/zPageTable.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.
*** 40,50 **** // updating the pagetable. OrderAccess::storestore(); const uintptr_t start = ZAddress::good(page->start()); const uintptr_t end = start + page->size(); ! for (uintptr_t addr = start; addr < end; addr += ZPageSizeMin) { _map.put(addr, entry); } } void ZPageTable::insert(ZPage* page) { --- 40,50 ---- // updating the pagetable. OrderAccess::storestore(); const uintptr_t start = ZAddress::good(page->start()); const uintptr_t end = start + page->size(); ! for (uintptr_t addr = start; addr < end; addr += ZGranuleSize) { _map.put(addr, entry); } } void ZPageTable::insert(ZPage* page) {
< prev index next >