hotspot/src/share/vm/runtime/globals.hpp
changeset 3908 24b55ad4c228
parent 3610 06ee2f982ea6
child 3912 3aaaaad1ccb0
--- a/hotspot/src/share/vm/runtime/globals.hpp	Tue Sep 15 11:09:34 2009 -0700
+++ b/hotspot/src/share/vm/runtime/globals.hpp	Tue Sep 15 21:53:47 2009 -0700
@@ -714,6 +714,11 @@
   diagnostic(bool, TraceNMethodInstalls, false,                             \
              "Trace nmethod intallation")                                   \
                                                                             \
+  diagnostic(intx, ScavengeRootsInCode, 0,                                  \
+             "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")           \
+                                                                            \
   diagnostic(bool, TraceOSRBreakpoint, false,                               \
              "Trace OSR Breakpoint ")                                       \
                                                                             \