After many variants of Sun VM settings, we found the best-performing configuration was just to set minimum and maximum heap size to 512MB of RAM and enable the Hotspot just-in-time compiler.
The Sun VM was supposed to scale to work on the six-CPU systems we used as application servers, but in practice, this was not the case.