Redian新闻
>
帮我了解一下64bit JVM
avatar
帮我了解一下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
avatar
k*r
2
看来没有人用64bit jvm呀。
avatar
m*t
3

We use 64b vm in production - mostly because our applications
have become such memory hogs that they simply run out of
memory quickly in 32b.
Speed wise it's not noticeably slower than 32b - maybe
because our apps spend a lot of time talking to db and
mainframe. YMMV there.

【在 k***r 的大作中提到】
: 看来没有人用64bit jvm呀。
avatar
k*r
4
Thanks. It's good to know that you haven't noticed
any side effects.

【在 m******t 的大作中提到】
:
: We use 64b vm in production - mostly because our applications
: have become such memory hogs that they simply run out of
: memory quickly in 32b.
: Speed wise it's not noticeably slower than 32b - maybe
: because our apps spend a lot of time talking to db and
: mainframe. YMMV there.

avatar
A*o
5
neither have i.

【在 k***r 的大作中提到】
: Thanks. It's good to know that you haven't noticed
: any side effects.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。