mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8232081: Try to link all classes during dynamic CDS dump
During CDS dynamic dump, link all classes loaded by the builtin class loaders in JVM_BeforeHalt() and JavaThread::invoke_shutdown_hooks(). Reviewed-by: iklam, dholmes
This commit is contained in:
parent
8c1204de6b
commit
9e2ab1e363
6 changed files with 202 additions and 13 deletions
|
@ -1264,12 +1264,6 @@ public:
|
|||
public:
|
||||
u2 idnum_allocated_count() const { return _idnum_allocated_count; }
|
||||
|
||||
public:
|
||||
void set_in_error_state() {
|
||||
assert(DumpSharedSpaces, "only call this when dumping archive");
|
||||
_init_state = initialization_error;
|
||||
}
|
||||
|
||||
private:
|
||||
// initialization state
|
||||
void set_init_state(ClassState state);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue