mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8292891: ifdef-out some CDS-only functions
Reviewed-by: coleenp, ccheung, dholmes
This commit is contained in:
parent
adb3d4f14a
commit
40b0ed5657
16 changed files with 45 additions and 23 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue