comparison src/share/vm/utilities/vmError.hpp @ 11130:90d6c221d4e5

Merge
author jprovino
date Tue, 16 Jul 2013 12:20:08 -0400
parents 068b406e307f
children 38f750491293
comparison
equal deleted inserted replaced
11129:16b10327b00d 11130:90d6c221d4e5
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);