src/share/vm/runtime/arguments.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/runtime/arguments.cpp	Tue Mar  8 20:18:06 2011
--- new/src/share/vm/runtime/arguments.cpp	Tue Mar  8 20:18:06 2011

*** 3033,3042 **** --- 3033,3048 ---- if (!FLAG_IS_DEFAULT(ScavengeRootsInCode)) { warning("forcing ScavengeRootsInCode non-zero because EnableMethodHandles or AnonymousClasses is true"); } ScavengeRootsInCode = 1; } + if (!JavaObjectsInPerm && ScavengeRootsInCode == 0) { + if (!FLAG_IS_DEFAULT(ScavengeRootsInCode)) { + warning("forcing ScavengeRootsInCode non-zero because JavaObjectsInPerm is false"); + } + ScavengeRootsInCode = 1; + } if (PrintGCDetails) { // Turn on -verbose:gc options as well PrintGC = true; }

src/share/vm/runtime/arguments.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File