src/share/vm/interpreter/bytecodeTracer.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2003, 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, 2010, 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.
*** 20,29 **** --- 20,34 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef SHARE_VM_INTERPRETER_BYTECODETRACER_HPP + #define SHARE_VM_INTERPRETER_BYTECODETRACER_HPP + + #include "memory/allocation.hpp" + // The BytecodeTracer is a helper class used by the interpreter for run-time // bytecode tracing. If bytecode tracing is turned on, trace() will be called // for each bytecode. // // By specialising the BytecodeClosure, all kinds of bytecode traces can
*** 54,58 **** --- 59,65 ---- virtual void trace(methodHandle method, address bcp, uintptr_t tos, uintptr_t tos2, outputStream* st) = 0; virtual void trace(methodHandle method, address bcp, outputStream* st) = 0; }; #endif // !PRODUCT + + #endif // SHARE_VM_INTERPRETER_BYTECODETRACER_HPP