Lines Matching refs:st

258 void VMError::print_stack_trace(outputStream* st, JavaThread* jt,
269 st->print("Java frames:");
278 st->print(" (TOP FRAME MAY BE JUNK)");
281 st->cr();
285 sfs.current()->zero_print_on_error(i, st, buf, buflen);
286 st->cr();
295 st->print_cr("Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)");
297 sfs.current()->print_on_error(st, buf, buflen, verbose);
298 st->cr();
331 void VMError::report(outputStream* st) {
343 st->print_cr("#");
345 st->print_cr("# A fatal error has been detected by the Java Runtime Environment:");
347 st->print_cr("# There is insufficient memory for the Java "
356 st->print("# Native memory allocation (malloc) failed to allocate ");
358 st->print(buf);
359 st->print(" bytes");
361 st->print(" for ");
362 st->print(_message);
364 st->cr();
367 st->print("# ");
368 st->print_cr(_message);
372 st->print_cr("# Possible reasons:");
373 st->print_cr("# The system is out of physical RAM or swap space");
374 st->print_cr("# In 32 bit mode, the process size limit was hit");
375 st->print_cr("# Possible solutions:");
376 st->print_cr("# Reduce memory load on the system");
377 st->print_cr("# Increase physical memory or swap space");
378 st->print_cr("# Check if swap backing store is full");
379 st->print_cr("# Use 64 bit Java on a 64 bit OS");
380 st->print_cr("# Decrease Java heap size (-Xmx/-Xms)");
381 st->print_cr("# Decrease number of Java threads");
382 st->print_cr("# Decrease Java thread stack sizes (-Xss)");
383 st->print_cr("# Set larger code cache with -XX:ReservedCodeCacheSize=");
384 st->print_cr("# This output file may be truncated or incomplete.");
396 st->print_cr("#");
397 st->print("# ");
400 st->print("%s", buf);
401 st->print(" (0x%x)", _id); // signal number
402 st->print(" at pc=" PTR_FORMAT, _pc);
405 st->print("Internal Error");
407 st->print("Out of Memory Error");
425 st->print(" (%s)", buf);
427 st->print(" (0x%x)", _id);
434 st->print(", pid=%d", os::current_process_id());
435 st->print(", tid=" UINTX_FORMAT, os::current_thread_id());
436 st->cr();
443 st->print_cr("# %s: %s", _message ? _message : "Error", _detail_msg);
445 st->print_cr("# Error: %s", _message);
452 st->print_cr("#");
458 st->print_cr("# JRE version: %s (%s) (build %s)", runtime_name, buf, runtime_version);
459 st->print_cr("# Java VM: %s (%s %s %s %s)",
471 st->print_cr("# Problematic frame:");
472 st->print("# ");
474 fr.print_on_error(st, buf, sizeof(buf));
475 st->cr();
476 st->print_cr("#");
479 st->print("# ");
481 st->print("Core dump written. Default location: %s", coredump_message);
483 st->print("Failed to write core dump. %s", coredump_message);
485 st->print_cr("");
486 st->print_cr("#");
491 print_bug_submit_message(st, _thread);
497 st->cr();
498 st->print_cr("--------------- T H R E A D ---------------");
499 st->cr();
507 st->print("Current thread (" PTR_FORMAT "): ", _thread);
508 _thread->print_on_error(st, buf, sizeof(buf));
509 st->cr();
511 st->print_cr("Current thread is native thread");
513 st->cr();
520 os::print_siginfo(st, _siginfo);
521 st->cr();
528 os::print_context(st, _context);
529 st->cr();
536 os::print_register_info(st, _context);
537 st->cr();
543 st->print("Stack: ");
557 st->print("[" PTR_FORMAT "," PTR_FORMAT "]", stack_bottom, stack_top);
563 st->print(", sp=" PTR_FORMAT, fr.sp());
565 st->print(", free space=" SIZE_FORMAT "k", free_stack_size);
568 st->cr();
579 st->print_cr("Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)");
584 fr.print_on_error(st, buf, sizeof(buf));
585 st->cr();
591 st->print_cr("...<more frames>...");
594 st->cr();
601 print_stack_trace(st, (JavaThread*)_thread, buf, sizeof(buf));
610 st->print_cr("JavaThread " PTR_FORMAT " (nid = " UINTX_FORMAT ") was being processed", jt, jt->osthread()->thread_id());
611 print_stack_trace(st, jt, buf, sizeof(buf), true);
621 op->print_on_error(st);
622 st->cr();
623 st->cr();
632 st->cr();
633 st->print_cr("Current CompileTask:");
634 t->task()->print_line_on_error(st, buf, sizeof(buf));
635 st->cr();
642 st->cr();
643 st->print_cr("--------------- P R O C E S S ---------------");
644 st->cr();
651 Threads::print_on_error(st, _thread, buf, sizeof(buf));
652 st->cr();
659 st->print("VM state:");
661 if (SafepointSynchronize::is_synchronizing()) st->print("synchronizing");
662 else if (SafepointSynchronize::is_at_safepoint()) st->print("at safepoint");
663 else st->print("not at safepoint");
667 st->print(" (not fully initialized)");
669 st->print(" (shutting down)");
671 st->print(" (normal execution)");
673 st->cr();
674 st->cr();
681 print_owned_locks_on_error(st);
682 st->cr();
691 Universe::print_on(st, true /* extended */);
692 st->cr();
694 Universe::heap()->barrier_set()->print_on(st);
695 st->cr();
697 st->print_cr("Polling page: " INTPTR_FORMAT, os::get_polling_page());
698 st->cr();
705 CodeCache::print_bounds(st);
706 st->cr();
712 Events::print_all(st);
713 st->cr();
720 os::print_dll_info(st);
721 st->cr();
728 Arguments::print_on(st);
729 st->cr();
735 st->print_cr("Unsupported internal testing APIs have been used.");
736 st->cr();
742 os::print_environment_variables(st, env_list, buf, sizeof(buf));
743 st->cr();
749 os::print_signal_handlers(st, buf, sizeof(buf));
750 st->cr();
756 st->cr();
757 st->print_cr("--------------- S Y S T E M ---------------");
758 st->cr();
764 os::print_os_info(st);
765 st->cr();
770 os::print_cpu_info(st);
771 st->cr();
777 os::print_memory_info(st);
778 st->cr();
784 st->print_cr("vm_info: %s", Abstract_VM_Version::internal_vm_info_string());
785 st->cr();
791 os::print_date_and_time(st);
792 st->cr();