A friend uncovered this link from IBM:
http://domino.research.ibm.com/comm/research_projects.nsf/pages/metronome.harmonicon.html
In it, there is a demonstration of a midi file played with normal garbage collection and with their “MetronomeGC” JVM. The timing in the latter is very smooth, quite acceptable for most MIDI music, it seems to me.
As the software they are selling is over $7000 (as far as I can tell), I’m wondering there have been other alternatives along these lines. Is it even possible to change GC operations from an Applet or from a application Jar? I guess I am having some conceptual problems. I’ve never tried to alter the GC settings before. Nor do I know if one can simply change some settings to get this sort of performance, or if a major rewrite is needed. Seems like they’re just doing more frequent, but smaller grained GC, which could possibly be managed by changing some settings.