8292891: ifdef-out some CDS-only functions

Reviewed-by: coleenp, ccheung, dholmes
This commit is contained in:
Ioi Lam 2022-08-29 23:20:21 +00:00
parent adb3d4f14a
commit 40b0ed5657
16 changed files with 45 additions and 23 deletions

View file

@ -455,9 +455,11 @@ class ConstantPoolCache: public MetaspaceObj {
// Assembly code support
static int resolved_references_offset_in_bytes() { return offset_of(ConstantPoolCache, _resolved_references); }
// CDS support
#if INCLUDE_CDS
void remove_unshareable_info();
void save_for_archive(TRAPS);
#endif
private:
void walk_entries_for_initialization(bool check_only);
void set_length(int length) { _length = length; }