oleg-vlsk commented on code in PR #12760:
URL: https://github.com/apache/ignite/pull/12760#discussion_r3030713371


##########
modules/core/src/main/java/org/apache/ignite/internal/managers/deployment/GridDeploymentLocalStore.java:
##########
@@ -543,14 +535,16 @@ private String getAlias(GridDeployment dep, Class<?> cls) 
{
      * @param ldr Class loader to undeploy.
      */
     private void undeploy(ClassLoader ldr) {
-        Collection<GridDeployment> doomed = new HashSet<>();
+        Collection<GridDeployment> doomed = U.newIdentityHashSet();
 
         synchronized (mux) {
-            for (Iterator<Deque<GridDeployment>> i1 = 
cache.values().iterator(); i1.hasNext();) {
-                Deque<GridDeployment> deps = i1.next();
+            for (Iterator<Map<ClassLoader, GridDeployment>> i1 = 
depsByAlias.values().iterator(); i1.hasNext();) {

Review Comment:
   Done as part of refactoring.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to