< prev index next >

src/hotspot/share/gc/parallel/psFileBackedVirtualspace.cpp

8221260: Initialize more class members on construction, remove some unused ones
Reviewed-by:

*** 1,7 **** /* ! * Copyright (c) 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) 2018, 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. ***************
*** 49,62 **** _special = true; os::close(_fd); return true; } - PSFileBackedVirtualSpace::PSFileBackedVirtualSpace(ReservedSpace rs, const char* path) { - PSFileBackedVirtualSpace(rs, os::vm_page_size(), path); - } - bool PSFileBackedVirtualSpace::expand_by(size_t bytes) { assert(special(), "Since entire space is committed at initialization, _special should always be true for PSFileBackedVirtualSpace"); // if mapping did not succeed during intialization return false if (!_mapping_succeeded) { --- 49,58 ----
< prev index next >