hotspot/src/share/vm/utilities/vmError.hpp
changeset 18487 270ef05ebce8
parent 17087 f0b76c4c93a0
child 19952 bc974e92f881
equal deleted inserted replaced
18486:77d72199179d 18487:270ef05ebce8
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2013, 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.
    94   const char* detail_msg() const { return _detail_msg; }
    94   const char* detail_msg() const { return _detail_msg; }
    95   bool should_report_bug(unsigned int id) {
    95   bool should_report_bug(unsigned int id) {
    96     return (id != OOM_MALLOC_ERROR) && (id != OOM_MMAP_ERROR);
    96     return (id != OOM_MALLOC_ERROR) && (id != OOM_MMAP_ERROR);
    97   }
    97   }
    98 
    98 
       
    99   static fdStream out;
       
   100   static fdStream log; // error log used by VMError::report_and_die()
       
   101 
    99 public:
   102 public:
   100 
   103 
   101   // Constructor for crashes
   104   // Constructor for crashes
   102   VMError(Thread* thread, unsigned int sig, address pc, void* siginfo,
   105   VMError(Thread* thread, unsigned int sig, address pc, void* siginfo,
   103           void* context);
   106           void* context);