8268870: Remove dead code in metaspaceShared

Reviewed-by: tschatzl
This commit is contained in:
Hamlin Li 2021-07-01 01:19:32 +00:00
parent 9def3b068e
commit 4660f72c38

View File

@ -101,7 +101,6 @@ public:
_archive_loading_failed = true;
}
static bool map_shared_spaces(FileMapInfo* mapinfo) NOT_CDS_RETURN_(false);
static void initialize_shared_spaces() NOT_CDS_RETURN;
// Return true if given address is in the shared metaspace regions (i.e., excluding any
@ -110,10 +109,6 @@ public:
return MetaspaceObj::is_shared((const MetaspaceObj*)p);
}
static address shared_metaspace_top() {
return (address)MetaspaceObj::shared_metaspace_top();
}
static void set_shared_metaspace_range(void* base, void *static_top, void* top) NOT_CDS_RETURN;
// Return true if given address is in the shared region corresponding to the idx