ignite-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ignite] alamar commented on a change in pull request #5792: IGNITE-10860 Get rid of calling clear on ConcurrentLinkedHashMap.
Date Fri, 09 Aug 2019 13:31:33 GMT
alamar commented on a change in pull request #5792: IGNITE-10860 Get rid of calling clear on
ConcurrentLinkedHashMap.
URL: https://github.com/apache/ignite/pull/5792#discussion_r312479859
 
 

 ##########
 File path: modules/core/src/main/java/org/apache/ignite/internal/processors/job/GridJobProcessor.java
 ##########
 @@ -119,10 +119,10 @@
     private final boolean jobAlwaysActivate;
 
     /** */
-    private final ConcurrentMap<IgniteUuid, GridJobWorker> activeJobs;
+    private volatile ConcurrentMap<IgniteUuid, GridJobWorker> activeJobs;
 
     /** */
-    private final ConcurrentMap<IgniteUuid, GridJobWorker> passiveJobs;
+    private volatile ConcurrentMap<IgniteUuid, GridJobWorker> passiveJobs;
 
 Review comment:
   maybe we should overwrite this one too on stop()?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message