phaniarnab commented on code in PR #2050: URL: https://github.com/apache/systemds/pull/2050#discussion_r1676883487
########## src/main/java/org/apache/sysds/runtime/controlprogram/caching/CacheableData.java: ########## @@ -229,7 +229,7 @@ protected CacheableData(DataType dt, ValueType vt) { _uniqueID = _seq.getNextID(); _cacheStatus = CacheStatus.EMPTY; _numReadThreads = 0; - _gpuObjects = DMLScript.USE_ACCELERATOR ? new HashMap<>() : null; + _gpuObjects = DMLScript.USE_ACCELERATOR ? new ConcurrentHashMap<>() : null; Review Comment: Is there a concrete reason for using ConcurrentHashMap? -- 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: dev-unsubscr...@systemds.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org