> 1. Method handles provide a better replacement for the swarm of tiny classes. > > 2. Hotspot is in the process of weaning itself off of perm gen. One of the > main features of perm-gen is that its objects never move except during full > GC, and the code cache relied on this invariant until just last year, with > the 'ScavengeRootsInCode' changes.
The only use case I can think of would be as a migration mechanism; for languages that currently run on the JVM and produce many classes, it might be an easy first step to use ACs instead of refactoring in method handles across their runtimes. But that's just a theoretical possibility. Glad to hear that perm gen will eventually go away. Thanks for the clarification. Patrick _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev