comparison src/os/bsd/vm/decoder_machO.hpp @ 4917: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
4864:b2cd0ee8f778 4917:db006a85bf91
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.
27 27
28 #ifdef __APPLE__ 28 #ifdef __APPLE__
29 29
30 #include "utilities/decoder.hpp" 30 #include "utilities/decoder.hpp"
31 31
32 // Just a placehold for now 32 // Just a placehold for now, a real implementation should derive
33 class MachODecoder: public NullDecoder { 33 // from AbstractDecoder
34 class MachODecoder : public NullDecoder {
34 public: 35 public:
35 MachODecoder() { } 36 MachODecoder() { }
36 ~MachODecoder() { } 37 ~MachODecoder() { }
37 }; 38 };
38 39