mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8259070: Add jcmd option to dump CDS
Reviewed-by: ccheung, iklam, mli
This commit is contained in:
parent
593194864a
commit
e7cbeba866
23 changed files with 800 additions and 75 deletions
|
@ -361,6 +361,9 @@ class InstanceKlass: public Klass {
|
|||
return (_misc_flags & shared_loader_type_bits()) == 0;
|
||||
}
|
||||
|
||||
// Check if the class can be shared in CDS
|
||||
bool is_shareable() const;
|
||||
|
||||
void clear_shared_class_loader_type() {
|
||||
_misc_flags &= ~shared_loader_type_bits();
|
||||
}
|
||||
|
@ -1261,7 +1264,7 @@ private:
|
|||
void mark_newly_obsolete_methods(Array<Method*>* old_methods, int emcp_method_count);
|
||||
#endif
|
||||
// log class name to classlist
|
||||
void log_to_classlist(const ClassFileStream* cfs) const;
|
||||
void log_to_classlist() const;
|
||||
public:
|
||||
// CDS support - remove and restore oops from metadata. Oops are not shared.
|
||||
virtual void remove_unshareable_info();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue