It seems to me that a generational collector would have problems
collecting Clojure's garbage production pattern. Luckily, the oracle/
hotspot jvm has a continuous collecting compacting GC called G1. That
should mitigate oldspace collection latency spikes. Enable with -XX:
+UnlockExperimentalVMOptions -XX:+UseG1GC

On Feb 7, 11:16 am, pron <ron.press...@gmail.com> wrote:
> Hi. I have a question:
> I love Clojure's persistent collections, but don't they generate many
> long-lived objects (that go to the surving generations) that are hard to
> garbage-collect? After all, the discarded nodes after "modification" are
> not necessarily short lived. It seems like they would behave badly from the
> GC perspective. Am I wrong?

-- 
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

Reply via email to