indy and tailc
pdoubleya at gmail.com
Wed Jan 27 01:25:32 PST 2010
> 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
Glad to hear that perm gen will eventually go away.
Thanks for the clarification.
More information about the mlvm-dev