Just for the record, there is one more relevant thread https://groups.google.com/d/topic/clojure/0AgUIiY8BQ8/discussion
On Tuesday, September 29, 2015 at 12:08:16 AM UTC+2, Georgi Danov wrote: > > Hi, > I am integrating clojure into java micro container. It has hierarchical > classloaders and can restart modules on the fly. It's almost REPL for Java > :). > > I have clojure running inside it, but even after reading some of the RT > and Compiler classes source code I don't understand well enough how much > state is accumulated where (theadLocals, static class fields/Vars, > classloader, so on). Given that I don't want to have each module run > different clojure version, I would prefer to have the basic things loaded > once and shared. > > I am also not sure what is shareable — I see the RT class has some static > init functionality that appears to be safe for sharing the same clojure.jar > classloader with all modules, but can't be sure. > > Would be glad if there is article I have missed that outlines this. > > Thanks, > Georgi > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
