< prev index next >

src/share/vm/utilities/decoder.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1997, 2015, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 30,39 **** --- 30,41 ---- #include "runtime/mutex.hpp" #include "runtime/mutexLocker.hpp" class AbstractDecoder : public CHeapObj<mtInternal> { public: + virtual ~AbstractDecoder() {} + // status code for decoding native C frame enum decoder_status { not_available = -10, // real decoder is not available no_error = 0, // successfully decoded frames out_of_memory, // out of memory
*** 80,90 **** public: NullDecoder() { _decoder_status = not_available; } ! ~NullDecoder() {}; virtual bool decode(address pc, char* buf, int buflen, int* offset, const char* modulepath, bool demangle) { return false; } --- 82,92 ---- public: NullDecoder() { _decoder_status = not_available; } ! virtual ~NullDecoder() {}; virtual bool decode(address pc, char* buf, int buflen, int* offset, const char* modulepath, bool demangle) { return false; }
< prev index next >