Maybe the reason for the slowdown going from x86 to AMD64 has to do with the fact that the Sun JVM is stack-based, not register-based. Maybe an interpreter with a register-based architecture, like Dalvik (as used in Android) will benefit better from 64-bit architectures.
Posted Jun 27, 2012 1:47 UTC (Wed) by alankila (subscriber, #47141)
[Link]
Java is defined as a stack machine. I don't think people execute it as a stack machine.
Why 64-Bit Java Is Slow
Posted Jun 27, 2012 2:50 UTC (Wed) by Cyberax (✭ supporter ✭, #52523)
[Link]
JVMs only use interpreter during startup. Then the code is JIT-compiled into native code and it doesn't matter at all whether the bytecode is stack-based or register-based. After all, they can be trivially interconverted.