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
36 // read-only space
37 // misc data (block offset table, string table, symbols, dictionary, etc.)
38 // tag(666)
39
40 static const int JVM_IDENT_MAX = 256;
41
42 class Metaspace;
43
44 class SharedClassPathEntry VALUE_OBJ_CLASS_SPEC {
45 public:
46 const char *_name;
47 time_t _timestamp; // jar/jimage timestamp, 0 if is directory or other
48 long _filesize; // jar/jimage file size, -1 if is directory, -2 if other
49
|
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 #include "utilities/align.hpp"
31
32 // Layout of the file:
33 // header: dump of archive instance plus versioning info, datestamp, etc.
34 // [magic # = 0xF00BABA2]
35 // ... padding to align on page-boundary
36 // read-write space
37 // read-only space
38 // misc data (block offset table, string table, symbols, dictionary, etc.)
39 // tag(666)
40
41 static const int JVM_IDENT_MAX = 256;
42
43 class Metaspace;
44
45 class SharedClassPathEntry VALUE_OBJ_CLASS_SPEC {
46 public:
47 const char *_name;
48 time_t _timestamp; // jar/jimage timestamp, 0 if is directory or other
49 long _filesize; // jar/jimage file size, -1 if is directory, -2 if other
50
|