comparison src/share/vm/utilities/vmError.hpp @ 1384:c544d979f886

6944503: Improved Zero crash dump Summary: With Zero on a GC crash the stack was dumped differently to other crashes. Reviewed-by: twisti Contributed-by: Gary Benson <gbenson@redhat.com>
author twisti
date Mon, 19 Apr 2010 02:13:06 -0700
parents 7bb995fbd3c0
children f03d0a26bf83
comparison
equal deleted inserted replaced
1383:aa9c266de52a 1384:c544d979f886
1 /* 1 /*
2 * Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved. 2 * Copyright 2003-2010 Sun Microsystems, Inc. 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.
68 void show_message_box(char* buf, int buflen); 68 void show_message_box(char* buf, int buflen);
69 69
70 // generate an error report 70 // generate an error report
71 void report(outputStream* st); 71 void report(outputStream* st);
72 72
73 // generate a stack trace
74 static void print_stack_trace(outputStream* st, JavaThread* jt,
75 char* buf, int buflen, bool verbose = false);
76
73 // accessor 77 // accessor
74 const char* message() { return _message; } 78 const char* message() { return _message; }
75 79
76 public: 80 public:
77 // Constructor for crashes 81 // Constructor for crashes