Mercurial > hg > graal-compiler
comparison src/share/vm/utilities/vmError.cpp @ 4872:aa3d708d67c4
7141200: log some interesting information in ring buffers for crashes
Reviewed-by: kvn, jrose, kevinw, brutisso, twisti, jmasa
author | never |
---|---|
date | Wed, 01 Feb 2012 07:59:01 -0800 |
parents | d7e3846464d0 |
children | 2d503de963b3 |
comparison
equal
deleted
inserted
replaced
4871:f067b4e0e04b | 4872:aa3d708d67c4 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
34 #include "runtime/vm_operations.hpp" | 34 #include "runtime/vm_operations.hpp" |
35 #include "utilities/debug.hpp" | 35 #include "utilities/debug.hpp" |
36 #include "utilities/decoder.hpp" | 36 #include "utilities/decoder.hpp" |
37 #include "utilities/defaultStream.hpp" | 37 #include "utilities/defaultStream.hpp" |
38 #include "utilities/errorReporter.hpp" | 38 #include "utilities/errorReporter.hpp" |
39 #include "utilities/events.hpp" | |
39 #include "utilities/top.hpp" | 40 #include "utilities/top.hpp" |
40 #include "utilities/vmError.hpp" | 41 #include "utilities/vmError.hpp" |
41 | 42 |
42 // List of environment variables that should be reported in error log file. | 43 // List of environment variables that should be reported in error log file. |
43 const char *env_list[] = { | 44 const char *env_list[] = { |
691 // print code cache information before vm abort | 692 // print code cache information before vm abort |
692 CodeCache::print_bounds(st); | 693 CodeCache::print_bounds(st); |
693 st->cr(); | 694 st->cr(); |
694 } | 695 } |
695 | 696 |
696 STEP(200, "(printing dynamic libraries)" ) | 697 STEP(200, "(printing ring buffers)" ) |
698 | |
699 if (_verbose) { | |
700 Events::print_all(st); | |
701 st->cr(); | |
702 } | |
703 | |
704 STEP(205, "(printing dynamic libraries)" ) | |
697 | 705 |
698 if (_verbose) { | 706 if (_verbose) { |
699 // dynamic libraries, or memory map | 707 // dynamic libraries, or memory map |
700 os::print_dll_info(st); | 708 os::print_dll_info(st); |
701 st->cr(); | 709 st->cr(); |