equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2019, 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. |
35 // By specialising the BytecodeClosure, all kinds of bytecode traces can |
35 // By specialising the BytecodeClosure, all kinds of bytecode traces can |
36 // be done. |
36 // be done. |
37 |
37 |
38 // class BytecodeTracer is used by TraceBytecodes option and PrintMethodData |
38 // class BytecodeTracer is used by TraceBytecodes option and PrintMethodData |
39 |
39 |
|
40 class methodHandle; |
|
41 |
40 class BytecodeClosure; |
42 class BytecodeClosure; |
41 class BytecodeTracer: AllStatic { |
43 class BytecodeTracer: AllStatic { |
42 private: |
44 private: |
43 static BytecodeClosure* _closure; |
45 static BytecodeClosure* _closure; |
44 |
46 |