2012年6月30日 星期六

WAS 7之後支援compressed reference

http://www.ibm.com/developerworks/cn/websphere/library/techarticles/0809_alcott/0809_alcott.html

WebSphere Application Server V7 中的新特性

IBM 的 Java SE 6 中的另一个改进是在 64 位 WebSphere Application Server JVM 中使用
压缩引用 (compressed reference)(或指针压缩)。与以前的 32 位 JVM 相比,使用压缩引用可以非常显著地减少 64 位 JVM 的进程内存占用空间。在 IBM 推出 Java SE 6 实现以前,64 位堆的大小为等效的 32 位堆的 1.7 至 2 倍的情况并不鲜见。


IBM JVM:
 -Xcompressedrefs

Oracle JVM:
-XX:+UseCompressedOops

Use -Xcompressedrefs in any of these situations:

  • When your Java applications does not need more than a 25 GB Java heap.
  • When your application uses a lot of native memory and needs the JVM to run in a small footprint.

REF:
http://publib.boulder.ibm.com/infocenter/javasdk/v6r0/index.jsp?topic=%2Fcom.ibm.java.doc.diagnostics.60%2Fdiag%2Funderstanding%2Fmm_compressed_references.html

http://www.slideserve.com/adamdaniel/improving-64-bit-java-performance-using-compressed-references

沒有留言:

張貼留言