diff -r 63eb7e38ce84 -r 9d1a788dea3d src/hotspot/share/memory/metaspaceShared.hpp --- a/src/hotspot/share/memory/metaspaceShared.hpp Tue Jan 29 14:34:26 2019 +0100 +++ b/src/hotspot/share/memory/metaspaceShared.hpp Tue Jan 29 14:43:05 2019 +0100 @@ -168,14 +168,11 @@ static bool try_link_class(InstanceKlass* ik, TRAPS); static void link_and_cleanup_shared_classes(TRAPS); - static void check_shared_class_loader_type(InstanceKlass* ik); // Allocate a block of memory from the "mc", "ro", or "rw" regions. static char* misc_code_space_alloc(size_t num_bytes); static char* read_only_space_alloc(size_t num_bytes); - static char* read_only_space_top(); - template static Array* new_ro_array(int length) { #if INCLUDE_CDS