8308181: Generational ZGC: Remove CLDG_lock from old gen root scanning
Reviewed-by: ayang, aboldtch
This commit is contained in:
parent
8aa50288a1
commit
8011ba74a2
@ -1421,13 +1421,7 @@ public:
|
||||
_cl_colored(),
|
||||
_cld_cl(&_cl_colored),
|
||||
_thread_cl(),
|
||||
_nm_cl() {
|
||||
ClassLoaderDataGraph_lock->lock();
|
||||
}
|
||||
|
||||
~ZRemapYoungRootsTask() {
|
||||
ClassLoaderDataGraph_lock->unlock();
|
||||
}
|
||||
_nm_cl() {}
|
||||
|
||||
virtual void work() {
|
||||
{
|
||||
|
@ -829,13 +829,7 @@ public:
|
||||
_cl_colored(),
|
||||
_cld_cl(&_cl_colored),
|
||||
_thread_cl(),
|
||||
_nm_cl() {
|
||||
ClassLoaderDataGraph_lock->lock();
|
||||
}
|
||||
|
||||
~ZMarkOldRootsTask() {
|
||||
ClassLoaderDataGraph_lock->unlock();
|
||||
}
|
||||
_nm_cl() {}
|
||||
|
||||
virtual void work() {
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user