filemap.hpp revision 3863
1879N/A * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 0N/A * published by the Free Software Foundation. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1472N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A// Layout of the file: 0N/A// header: dump of archive instance plus versioning info, datestamp, etc. 0N/A// [magic # = 0xF00BABA2] 0N/A// ... padding to align on page-boundary 0N/A// read-write space from CompactingPermGenGen 0N/A// read-only space from CompactingPermGenGen 0N/A// misc data (block offset table, string table, symbols, dictionary, etc.) 0N/A // FileMapHeader describes the shared space data in the file to be 0N/A // mapped. This structure gets written to a file. It is not a class, so 0N/A // that the compilers don't add any compiler-private data to it. 0N/A char*
_base;
// copy-on-write base address 0N/A // The following fields are all sanity checks for whether this archive 0N/A // will function correctly with this JVM and the bootclasspath it's 0N/A // Per jar file data: timestamp, size. 0N/A // File manipulation. 0N/A // Remap the shared readonly space to shared readwrite, private. 0N/A // Return true if given address is in the mapped shared space. 1879N/A#
endif // SHARE_VM_MEMORY_FILEMAP_HPP