comparison src/share/vm/utilities/decoder_elf.hpp @ 3206:db006a85bf91

7141259: Native stack is missing in hs_err Summary: Code cleanup and creating a private decoder for error handler, since it can be triggered from in signal handler, where no lock can be taken Reviewed-by: dholmes, kamg, acorn, coleenp
author zgu
date Thu, 09 Feb 2012 10:16:26 -0500
parents d7e3846464d0
children 3b01d0321dfa
comparison
equal deleted inserted replaced
0:d2aa2a6f4daa 1:9004086b733f
1 /* 1 /*
2 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2011, 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.
28 #if !defined(_WINDOWS) && !defined(__APPLE__) 28 #if !defined(_WINDOWS) && !defined(__APPLE__)
29 29
30 #include "utilities/decoder.hpp" 30 #include "utilities/decoder.hpp"
31 #include "utilities/elfFile.hpp" 31 #include "utilities/elfFile.hpp"
32 32
33 class ElfDecoder: public NullDecoder { 33 class ElfDecoder : public AbstractDecoder {
34 34
35 public: 35 public:
36 ElfDecoder() { 36 ElfDecoder() {
37 _opened_elf_files = NULL; 37 _opened_elf_files = NULL;
38 _decoder_status = no_error; 38 _decoder_status = no_error;