2154 static void print(bool print_stacks, bool internal_format) { |
2154 static void print(bool print_stacks, bool internal_format) { |
2155 // this function is only used by debug.cpp |
2155 // this function is only used by debug.cpp |
2156 print_on(tty, print_stacks, internal_format, false /* no concurrent lock printed */); |
2156 print_on(tty, print_stacks, internal_format, false /* no concurrent lock printed */); |
2157 } |
2157 } |
2158 static void print_on_error(outputStream* st, Thread* current, char* buf, int buflen); |
2158 static void print_on_error(outputStream* st, Thread* current, char* buf, int buflen); |
|
2159 static void print_on_error(Thread* this_thread, outputStream* st, Thread* current, char* buf, |
|
2160 int buflen, bool* found_current); |
2159 static void print_threads_compiling(outputStream* st, char* buf, int buflen); |
2161 static void print_threads_compiling(outputStream* st, char* buf, int buflen); |
2160 |
2162 |
2161 // Get Java threads that are waiting to enter a monitor. If doLock |
2163 // Get Java threads that are waiting to enter a monitor. If doLock |
2162 // is true, then Threads_lock is grabbed as needed. Otherwise, the |
2164 // is true, then Threads_lock is grabbed as needed. Otherwise, the |
2163 // VM needs to be at a safepoint. |
2165 // VM needs to be at a safepoint. |