Experiences with escape analysis enabled on the JVM
I've just tried the -XX:+DoEscapeAnalysis option enabled on a jdk6-u18 VM (on solaris) and had a rather disappointing experience. I'm running a scala application which has rather a lot of actors (20,000 of them). This is a recipe for garbage-creation! Typically the app can run with 256Mb of heap but generates huge amounts of garbage. In...