mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8308181: Generational ZGC: Remove CLDG_lock from old gen root scanning
Reviewed-by: ayang, aboldtch
(cherry picked from commit 8011ba74a2)
This commit is contained in:
committed by
Vitaly Provodin
parent
653e101c31
commit
0f3393da8e
@@ -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() {
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user