> The recent post about java memory limits brings to mind something that
> has been in the back of my mind for awhile. This is just a general
> question about java. It is my understanding that the java vm is 32 bit
> even on architectures that support 64 bit addressing. Is this true and
> if so why in the world?
Like any application, the VM must be written and compiled to take
advantage of a 64-bit architecture. Java is 64-bit ready (save that when
addressing local variables and on the stack, there's an assumption that
floats and doubles occupy two slots, whereas integers and pointers occupy
one. So you might waste a small amount of memory.)
> I find this especially puzzling given that java is a sun product and
> sun's sparc architecture has been 64 bit for some time now.
http://www.java.com/en/download/manual.jsp
Sun has both a 32-bit and 64-bit VM available for Solaris, although
they're separate downloads.
> Mercy. It's a virtual machine but it cannot deal with virtual memory
> without you having to supply cheesy memory parameters. Accessing up to
> the limit of memory should be automatic (even if it is only 32 bit).
I believe this was done on purpose, and I don't blame them: otherwise,
someone would write an applet that would chew up as much memory as
possible.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden