7110058: change default for ScavengeRootsInCode to 2
authortwisti
Mon, 21 Nov 2011 00:57:43 -0800
changeset 11195 48e0d7ae1378
parent 11194 ee1235a09fc3
child 11196 a310a659c580
7110058: change default for ScavengeRootsInCode to 2 Reviewed-by: kvn, never
hotspot/src/share/vm/runtime/globals.hpp
--- a/hotspot/src/share/vm/runtime/globals.hpp	Fri Nov 18 10:29:27 2011 -0800
+++ b/hotspot/src/share/vm/runtime/globals.hpp	Mon Nov 21 00:57:43 2011 -0800
@@ -887,7 +887,7 @@
   diagnostic(bool, TraceNMethodInstalls, false,                             \
              "Trace nmethod intallation")                                   \
                                                                             \
-  diagnostic(intx, ScavengeRootsInCode, 1,                                  \
+  diagnostic(intx, ScavengeRootsInCode, 2,                                  \
              "0: do not allow scavengable oops in the code cache; "         \
              "1: allow scavenging from the code cache; "                    \
              "2: emit as many constants as the compiler can see")           \