mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8244778: Archive full module graph in CDS
Reviewed-by: erikj, coleenp, lfoltan, redestad, alanb, mchung
This commit is contained in:
parent
998ce78e53
commit
03a4df0acd
59 changed files with 2052 additions and 164 deletions
|
@ -2714,6 +2714,17 @@ public abstract class ClassLoader {
|
|||
offset = unsafe.objectFieldOffset(k, name);
|
||||
return unsafe.compareAndSetReference(this, offset, null, obj);
|
||||
}
|
||||
|
||||
/**
|
||||
* Called by the VM, during -Xshare:dump
|
||||
*/
|
||||
private void resetArchivedStates() {
|
||||
parallelLockMap.clear();
|
||||
packages.clear();
|
||||
package2certs.clear();
|
||||
classes.clear();
|
||||
classLoaderValueMap = null;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue