8250990: Consolidate object copying code for CDS static/dynamic archive dumping

Reviewed-by: coleenp, ccheung
This commit is contained in:
Ioi Lam 2020-08-13 18:40:51 -07:00
parent 7638580477
commit 35e3226df8
18 changed files with 1209 additions and 1027 deletions

View file

@ -151,7 +151,6 @@ Mutex* CDSClassFileStream_lock = NULL;
#endif
Mutex* DumpTimeTable_lock = NULL;
Mutex* CDSLambda_lock = NULL;
Mutex* CDSAddSymbol_lock = NULL;
#endif // INCLUDE_CDS
#if INCLUDE_JVMCI
@ -347,7 +346,6 @@ void mutex_init() {
#endif
def(DumpTimeTable_lock , PaddedMutex , leaf - 1, true, _safepoint_check_never);
def(CDSLambda_lock , PaddedMutex , leaf, true, _safepoint_check_never);
def(CDSAddSymbol_lock , PaddedMutex , leaf - 1, true, _safepoint_check_never);
#endif // INCLUDE_CDS
#if INCLUDE_JVMCI