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_OOPS_METHODDATAOOP_HPP |
|
26 #define SHARE_VM_OOPS_METHODDATAOOP_HPP |
|
27 |
|
28 #include "interpreter/bytecodes.hpp" |
|
29 #include "memory/universe.hpp" |
|
30 #include "oops/methodOop.hpp" |
|
31 #include "oops/oop.hpp" |
|
32 #include "runtime/orderAccess.hpp" |
|
33 |
25 class BytecodeStream; |
34 class BytecodeStream; |
26 |
35 |
27 // The MethodData object collects counts and other profile information |
36 // The MethodData object collects counts and other profile information |
28 // during zeroth-tier (interpretive) and first-tier execution. |
37 // during zeroth-tier (interpretive) and first-tier execution. |
29 // The profile is used later by compilation heuristics. Some heuristics |
38 // The profile is used later by compilation heuristics. Some heuristics |