src/share/vm/utilities/debug.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/utilities/debug.cpp	Fri Dec 19 10:02:46 2014
--- new/src/share/vm/utilities/debug.cpp	Fri Dec 19 10:02:45 2014

*** 271,280 **** --- 271,288 ---- "to increase the initial size of %s.\n", name[shared_space], flag[shared_space], name[shared_space]); exit(2); } + void report_insufficient_metaspace(uintx required_size) { + warning("\nThe MaxMetaspaceSize of " UINTX_FORMAT " bytes is not large enough.\n" + "Either don't specify the -XX:MaxMetaspaceSize=<size>\n" + "or increase the size to at least " UINTX_FORMAT ".\n", + MaxMetaspaceSize, required_size); + exit(2); + } + void report_java_out_of_memory(const char* message) { static jint out_of_memory_reported = 0; // A number of threads may attempt to report OutOfMemoryError at around the // same time. To avoid dumping the heap or executing the data collection

src/share/vm/utilities/debug.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File