diff src/share/vm/runtime/globals.hpp @ 9071:68fe50d4f1d5

8011343: Add new flag for verifying the heap during startup Summary: Perform verification during VM startup under control of new flag and within a VMOperation. Reviewed-by: stefank, jmasa, brutisso
author johnc
date Fri, 05 Apr 2013 10:20:04 -0700
parents 0ca3dd0ffaba
children 83f27710f5f7
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Thu Apr 04 21:15:43 2013 -0700
+++ b/src/share/vm/runtime/globals.hpp	Fri Apr 05 10:20:04 2013 -0700
@@ -2123,6 +2123,10 @@
   product(intx, PrefetchFieldsAhead, -1,                                    \
           "How many fields ahead to prefetch in oop scan (<= 0 means off)") \
                                                                             \
+  diagnostic(bool, VerifyDuringStartup, false,                              \
+          "Verify memory system before executing any Java code "            \
+          "during VM initialization")                                       \
+                                                                            \
   diagnostic(bool, VerifyBeforeExit, trueInDebug,                           \
           "Verify system before exiting")                                   \
                                                                             \