From 42bf3f9214388a1e82ce89bfcebaf3bc118e3393 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Mon, 19 Dec 2011 08:37:41 +0000
Subject: [PATCH] Indicate use of -XX:+UseCompressedOops for small 64-bit JVMs (as mentioned on Ludo's blog, http://ludopoitou.wordpress.com/2011/12/16/an-important-tuning-flag-for-opendj-with-64bit-jvm/)

---
 opendj3/src/main/docbkx/admin-guide/chap-tuning.xml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/opendj3/src/main/docbkx/admin-guide/chap-tuning.xml b/opendj3/src/main/docbkx/admin-guide/chap-tuning.xml
index 5184e70..efeec21 100644
--- a/opendj3/src/main/docbkx/admin-guide/chap-tuning.xml
+++ b/opendj3/src/main/docbkx/admin-guide/chap-tuning.xml
@@ -305,6 +305,15 @@
       off when everything is running smoothly.</para>
      </listitem>
     </varlistentry>
+    <varlistentry>
+     <term><option>-XX:+UseCompressedOops</option></term>
+     <listitem>
+      <para>Java object pointers normally have the same size as native machine
+      pointers. If you run a small, but 64-bit JVM, then compressed object
+      pointers can save space. Set this option when you have a 64-bit JVM,
+      <option>-Xmx</option> less than 32 GB, and Java SE 6u23 or later.</para>
+     </listitem>
+    </varlistentry>
    </variablelist>
   </section>
   

--
Gitblit v1.10.0