src/share/vm/memory/metaspaceShared.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/memory/metaspaceShared.hpp Fri Nov 6 15:25:55 2015
--- new/src/share/vm/memory/metaspaceShared.hpp Fri Nov 6 15:25:55 2015
*** 67,91 ****
--- 67,80 ----
static bool _check_classes_made_progress;
static bool _has_error_classes;
static bool _archive_loading_failed;
public:
enum {
! vtbl_list_size = 17, // number of entries in the shared space vtable list.
! num_virtuals = 200, // maximum number of virtual functions
! // If virtual functions are added to Metadata,
// this number needs to be increased. Also,
// SharedMiscCodeSize will need to be increased.
// The following 2 sizes were based on
// MetaspaceShared::generate_vtable_methods()
vtbl_method_size = 16, // conservative size of the mov1 and jmp instructions
// for the x64 platform
vtbl_common_code_size = (1*K) // conservative size of the "common_code" for the x64 platform
};
enum {
min_ro_size = NOT_LP64(8*M) LP64_ONLY(9*M), // minimum ro and rw regions sizes based on dumping
min_rw_size = NOT_LP64(7*M) LP64_ONLY(12*M) // of a shared archive using the default classlist
! vtbl_list_size = DEFAULT_VTBL_LIST_SIZE,
! num_virtuals = DEFAULT_VTBL_VIRTUALS_COUNT,
! vtbl_method_size = DEFAULT_VTBL_METHOD_SIZE,
+ vtbl_common_code_size = DEFAULT_VTBL_COMMON_CODE_SIZE
};
enum {
ro = 0, // read-only shared space in the heap
rw = 1, // read-write shared space in the heap
src/share/vm/memory/metaspaceShared.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File