Matthias Boehm created SYSTEMML-1616:
----------------------------------------

             Summary: Multi-threaded JMLC failures due to side effects of 
constant folding
                 Key: SYSTEMML-1616
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1616
             Project: SystemML
          Issue Type: Bug
            Reporter: Matthias Boehm


In scenarios with multiple concurrently running JMLC connections and prepared 
scripts per JVM process (e.g., in spark executors, or multi-threaded 
containers), there are potential side effects between scripts which ultimately 
can lead to compilation and runtime errors.

The root cause are static reuse objects (for program block and execution 
context) in the constant folding rewrite. Accordingly, folded constants might 
leak from one script compilation into another script compilation which can 
cause all sorts of incomprehensible errors.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to