I was falling asleep and this question started pestering me.
I read somewhere that 64 bit jvms sometimes use 32 bit addresses.
These are more compact.
So some questions.
1. does the JVM ever work with both 32 bit and 64 bit addresses in the
same session?
2. does it work with 32 then if it overflows convert everything to 64
bit in and regenerate all the hotspot code?
3. if address reserve some bit to indicate their flavour, is there
typical machine language support to load an address into a 64 bit
register or store it into 64/32 bit without requiring a sequence of
machine instructions?
--
Roedy Green Canadian Mind Products
http://mindprod.com
Ironically, even though the Internet was created by the US military
[DARPA (Defense Advanced Research Projects Agency)]
to withstand a nuclear attack, it is almost defenceless against malice
from any of its users