# HG changeset patch # User twisti # Date 1321865863 28800 # Node ID 7793051af7d643cef2eed03a1296f41599fa5ced # Parent 59bc0d4d9ea3d0de60538faecd78fd8a050e7727 7110058: change default for ScavengeRootsInCode to 2 Reviewed-by: kvn, never diff -r 59bc0d4d9ea3 -r 7793051af7d6 src/share/vm/runtime/globals.hpp --- a/src/share/vm/runtime/globals.hpp Fri Nov 18 10:29:27 2011 -0800 +++ b/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") \