hotspot/src/share/vm/utilities/vmError.hpp
changeset 5340 b838d4165c92
parent 2154 72a9b7284ccf
child 5403 6b0dd9c75dde
equal deleted inserted replaced
5339:ee4d549502b1 5340:b838d4165c92
     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