I have a Java app which is packaged up using JarBundler. The app is fairly CPU intensive (lots of big Collection.sort() calls).
On Mac OS, the app runs slow and sluggish when using the 64-bit JavaApplicationStub. This JavaApplicationStub file is launching the Java 64-bit VM.
I found an old JavaApplicationStub file which is 32-bit only. I replaced it in the Bundle, and the app runs 10x faster! (consequently, the 32-bit VM is utilized when the application runs).
Does this make any sense? Why is the 64-bit VM so much slower? Does it make sense to build an app and hack the JavaApplicationStub file like this?
Advise is appreciated.