diff src/share/vm/runtime/globals.hpp @ 8802:eca90b8a06eb

7030610: runtime/6878713/Test6878713.sh fails Error. failed to clean up files after test 7123945: runtime/6878713/Test6878713.sh require about 2G of native memory, swaps and times out Summary: Add new diagnostic option -XX:MallocMaxTestWords=NNN and fix Test6878713.sh. Reviewed-by: dcubed, coleenp, dholmes, iklam
author rdurbin
date Tue, 19 Mar 2013 11:33:11 -0700
parents 11d5942ef9c7
children 91bf0bdae37b 06db4c0afbf3
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Tue Mar 19 13:44:26 2013 +0100
+++ b/src/share/vm/runtime/globals.hpp	Tue Mar 19 11:33:11 2013 -0700
@@ -2905,6 +2905,10 @@
           "if non-zero, start verifying C heap after Nth call to "          \
           "malloc/realloc/free")                                            \
                                                                             \
+  diagnostic(uintx, MallocMaxTestWords,     0,                              \
+          "if non-zero, max # of Words that malloc/realloc can allocate "   \
+          "(for testing only)")                                             \
+                                                                            \
   product(intx, TypeProfileWidth,     2,                                    \
           "number of receiver types to record in call/cast profile")        \
                                                                             \