9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_VM_MEMORY_FILEMAP_HPP
26 #define SHARE_VM_MEMORY_FILEMAP_HPP
27
28 #include "memory/metaspaceShared.hpp"
29
30 // Layout of the file:
31 // header: dump of archive instance plus versioning info, datestamp, etc.
32 // [magic # = 0xF00BABA2]
33 // ... padding to align on page-boundary
34 // read-write space from CompactingPermGenGen
35 // read-only space from CompactingPermGenGen
36 // misc data (block offset table, string table, symbols, dictionary, etc.)
37 // tag(666)
38
39 static const int JVM_SHARED_JARS_MAX = 128;
40 static const int JVM_SPACENAME_MAX = 128;
41 static const int JVM_IDENT_MAX = 256;
42 static const int JVM_ARCH_MAX = 12;
43
44
45 class Metaspace;
46
47 class FileMapInfo : public CHeapObj<mtInternal> {
48 private:
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_VM_MEMORY_FILEMAP_HPP
26 #define SHARE_VM_MEMORY_FILEMAP_HPP
27
28 #include "memory/metaspaceShared.hpp"
29 #include "memory/metaspace.hpp"
30
31 // Layout of the file:
32 // header: dump of archive instance plus versioning info, datestamp, etc.
33 // [magic # = 0xF00BABA2]
34 // ... padding to align on page-boundary
35 // read-write space from CompactingPermGenGen
36 // read-only space from CompactingPermGenGen
37 // misc data (block offset table, string table, symbols, dictionary, etc.)
38 // tag(666)
39
40 static const int JVM_SHARED_JARS_MAX = 128;
41 static const int JVM_SPACENAME_MAX = 128;
42 static const int JVM_IDENT_MAX = 256;
43 static const int JVM_ARCH_MAX = 12;
44
45
46 class Metaspace;
47
48 class FileMapInfo : public CHeapObj<mtInternal> {
49 private:
|