kev-inn edited a comment on pull request #1047:
URL: https://github.com/apache/systemds/pull/1047#issuecomment-688257975


   > But the issue is that it is hard / impossible to debug the processes while 
it is possible when inside the same JVM using threads, and in that context if 
we really want to make it smart then we would need to change the system such 
that it does not produce these static variables and objects that potentially 
also lead to more bugs in other parts of the program.
   
   Yes, that is the one major downside. Intellij supports attaching to the 
debugger to process, but I am not sure if that operation can be automated. 
[`ThreadLocal`](https://docs.oracle.com/javase/8/docs/api/java/lang/ThreadLocal.html)
 would be another option for using threads, but I believe that would lead to 
performance loss, even though we only get debug improvements.


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to