< prev index next >

src/hotspot/share/utilities/debug.cpp

Print this page

        

*** 21,30 **** --- 21,31 ---- * questions. * */ #include "precompiled.hpp" + #include "jvm.h" #include "classfile/systemDictionary.hpp" #include "code/codeCache.hpp" #include "code/icBuffer.hpp" #include "code/nmethod.hpp" #include "code/vtableStubs.hpp"
*** 34,44 **** #include "interpreter/bytecodeHistogram.hpp" #include "interpreter/interpreter.hpp" #include "memory/resourceArea.hpp" #include "memory/universe.hpp" #include "oops/oop.inline.hpp" - #include "prims/jvm.h" #include "prims/privilegedStack.hpp" #include "runtime/arguments.hpp" #include "runtime/atomic.hpp" #include "runtime/frame.hpp" #include "runtime/java.hpp" --- 35,44 ----
*** 274,284 **** warning("Untested: %s in %s: %d\n", message, file, line); #endif // !PRODUCT } 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 // commands multiple times we just do it once when the first threads reports // the error. --- 274,284 ---- warning("Untested: %s in %s: %d\n", message, file, line); #endif // !PRODUCT } void report_java_out_of_memory(const char* message) { ! static int 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 // commands multiple times we just do it once when the first threads reports // the error.
< prev index next >