< prev index next >

src/hotspot/share/runtime/globals.hpp

Print this page
rev 56222 : 8218628: Add detailed message to NullPointerException describing what is null.
Summary: This is the implementation of JEP 358: Helpful NullPointerExceptions.
Reviewed-by: coleenp


 626                                                                             \
 627   develop(bool, PrintCodeCache2, false,                                     \
 628           "Print detailed usage information on the code cache when exiting")\
 629                                                                             \
 630   product(bool, PrintCodeCacheOnCompilation, false,                         \
 631           "Print the code cache memory usage each time a method is "        \
 632           "compiled")                                                       \
 633                                                                             \
 634   diagnostic(bool, PrintCodeHeapAnalytics, false,                           \
 635           "Print code heap usage statistics on exit and on full condition") \
 636                                                                             \
 637   diagnostic(bool, PrintStubCode, false,                                    \
 638           "Print generated stub code")                                      \
 639                                                                             \
 640   product(bool, StackTraceInThrowable, true,                                \
 641           "Collect backtrace in throwable when exception happens")          \
 642                                                                             \
 643   product(bool, OmitStackTraceInFastThrow, true,                            \
 644           "Omit backtraces for some 'hot' exceptions in optimized code")    \
 645                                                                             \




 646   product(bool, PrintWarnings, true,                                        \
 647           "Print JVM warnings to output stream")                            \
 648                                                                             \
 649   notproduct(uintx, WarnOnStalledSpinLock, 0,                               \
 650           "Print warnings for stalled SpinLocks")                           \
 651                                                                             \
 652   product(bool, RegisterFinalizersAtInit, true,                             \
 653           "Register finalizable objects at end of Object.<init> or "        \
 654           "after allocation")                                               \
 655                                                                             \
 656   develop(bool, RegisterReferences, true,                                   \
 657           "Tell whether the VM should register soft/weak/final/phantom "    \
 658           "references")                                                     \
 659                                                                             \
 660   develop(bool, IgnoreRewrites, false,                                      \
 661           "Suppress rewrites of bytecodes in the oopmap generator. "        \
 662           "This is unsafe!")                                                \
 663                                                                             \
 664   develop(bool, PrintCodeCacheExtension, false,                             \
 665           "Print extension of code cache")                                  \




 626                                                                             \
 627   develop(bool, PrintCodeCache2, false,                                     \
 628           "Print detailed usage information on the code cache when exiting")\
 629                                                                             \
 630   product(bool, PrintCodeCacheOnCompilation, false,                         \
 631           "Print the code cache memory usage each time a method is "        \
 632           "compiled")                                                       \
 633                                                                             \
 634   diagnostic(bool, PrintCodeHeapAnalytics, false,                           \
 635           "Print code heap usage statistics on exit and on full condition") \
 636                                                                             \
 637   diagnostic(bool, PrintStubCode, false,                                    \
 638           "Print generated stub code")                                      \
 639                                                                             \
 640   product(bool, StackTraceInThrowable, true,                                \
 641           "Collect backtrace in throwable when exception happens")          \
 642                                                                             \
 643   product(bool, OmitStackTraceInFastThrow, true,                            \
 644           "Omit backtraces for some 'hot' exceptions in optimized code")    \
 645                                                                             \
 646   manageable(bool, ShowCodeDetailsInExceptionMessages, false,               \
 647           "Show exception messages from RuntimeExceptions that contain "    \
 648           "snippets of the failing code. Disable this to improve privacy.") \
 649                                                                             \
 650   product(bool, PrintWarnings, true,                                        \
 651           "Print JVM warnings to output stream")                            \
 652                                                                             \
 653   notproduct(uintx, WarnOnStalledSpinLock, 0,                               \
 654           "Print warnings for stalled SpinLocks")                           \
 655                                                                             \
 656   product(bool, RegisterFinalizersAtInit, true,                             \
 657           "Register finalizable objects at end of Object.<init> or "        \
 658           "after allocation")                                               \
 659                                                                             \
 660   develop(bool, RegisterReferences, true,                                   \
 661           "Tell whether the VM should register soft/weak/final/phantom "    \
 662           "references")                                                     \
 663                                                                             \
 664   develop(bool, IgnoreRewrites, false,                                      \
 665           "Suppress rewrites of bytecodes in the oopmap generator. "        \
 666           "This is unsafe!")                                                \
 667                                                                             \
 668   develop(bool, PrintCodeCacheExtension, false,                             \
 669           "Print extension of code cache")                                  \


< prev index next >