帮我了解一下64bit JVM# Java - 爪哇娇娃
k*r
1 楼
http://benjchristensen.com/2007/02/16/32-bit-versus-64-bit-jdk-memory-
usage/
So the conclusions are:
1. 32 bit jvm can only access 2GB memory while 64 bit jvm
can access more.
2. 64 bit jvm is less memory efficient and uses 40%-50% more
memory
My question is:
1. why does 64 bit jvm uses more memory? Is it mainly wasted
on 64 bit allocation of short primitive types such as char,
int and long because twice as much memory will be allocated
and half of which wasted?
2. if I'm running a 64 bit OS, L
usage/
So the conclusions are:
1. 32 bit jvm can only access 2GB memory while 64 bit jvm
can access more.
2. 64 bit jvm is less memory efficient and uses 40%-50% more
memory
My question is:
1. why does 64 bit jvm uses more memory? Is it mainly wasted
on 64 bit allocation of short primitive types such as char,
int and long because twice as much memory will be allocated
and half of which wasted?
2. if I'm running a 64 bit OS, L