See https://github.com/flatland/classlojure for a, nearly, ready-made solution to running several Clojures in one JVM.
On Wed, Dec 12, 2012 at 5:20 PM, Lee Spector <lspec...@hampshire.edu> wrote: > > On Dec 12, 2012, at 10:45 AM, Christophe Grand wrote: > > Lee, while you are at benchmarking, would you mind running several > threads in one JVM with one clojure instance per thread? Thus each thread > should get JITted independently. > > I'm not actually sure how to do that. We're starting runs with "lein run", > which, if I understand correctly launches a JVM and a Clojure instance > within it. Within that Clojure instance we can do things in either a single > threaded or a multi threaded way. How would I change our method to do what > you're asking here? We're not particularly Java savvy (I come from the Lisp > side of things). > > Thanks, > > -Lee > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- On Clojure http://clj-me.cgrand.net/ Clojure Programming http://clojurebook.com Training, Consulting & Contracting http://lambdanext.eu/ -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en