equal
deleted
inserted
replaced
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
25 #ifndef SHARE_VM_INTERPRETER_BYTECODETRACER_HPP |
25 #ifndef SHARE_INTERPRETER_BYTECODETRACER_HPP |
26 #define SHARE_VM_INTERPRETER_BYTECODETRACER_HPP |
26 #define SHARE_INTERPRETER_BYTECODETRACER_HPP |
27 |
27 |
28 #include "memory/allocation.hpp" |
28 #include "memory/allocation.hpp" |
29 #include "utilities/ostream.hpp" |
29 #include "utilities/ostream.hpp" |
30 |
30 |
31 // The BytecodeTracer is a helper class used by the interpreter for run-time |
31 // The BytecodeTracer is a helper class used by the interpreter for run-time |
60 public: |
60 public: |
61 virtual void trace(const methodHandle& method, address bcp, uintptr_t tos, uintptr_t tos2, outputStream* st) = 0; |
61 virtual void trace(const methodHandle& method, address bcp, uintptr_t tos, uintptr_t tos2, outputStream* st) = 0; |
62 virtual void trace(const methodHandle& method, address bcp, outputStream* st) = 0; |
62 virtual void trace(const methodHandle& method, address bcp, outputStream* st) = 0; |
63 }; |
63 }; |
64 |
64 |
65 #endif // SHARE_VM_INTERPRETER_BYTECODETRACER_HPP |
65 #endif // SHARE_INTERPRETER_BYTECODETRACER_HPP |