equal
deleted
inserted
replaced
30 #include "interpreter/invocationCounter.hpp" |
30 #include "interpreter/invocationCounter.hpp" |
31 #include "runtime/arguments.hpp" |
31 #include "runtime/arguments.hpp" |
32 |
32 |
33 class MethodCounters: public MetaspaceObj { |
33 class MethodCounters: public MetaspaceObj { |
34 friend class VMStructs; |
34 friend class VMStructs; |
|
35 friend class JVMCIVMStructs; |
35 private: |
36 private: |
36 int _interpreter_invocation_count; // Count of times invoked (reused as prev_event_count in tiered) |
37 int _interpreter_invocation_count; // Count of times invoked (reused as prev_event_count in tiered) |
37 u2 _interpreter_throwout_count; // Count of times method was exited via exception while interpreting |
38 u2 _interpreter_throwout_count; // Count of times method was exited via exception while interpreting |
38 u2 _number_of_breakpoints; // fullspeed debugging support |
39 u2 _number_of_breakpoints; // fullspeed debugging support |
39 InvocationCounter _invocation_counter; // Incremented before each activation of the method - used to trigger frequency-based optimizations |
40 InvocationCounter _invocation_counter; // Incremented before each activation of the method - used to trigger frequency-based optimizations |