hotspot/src/share/vm/oops/methodCounters.hpp
changeset 35123 b0b89d83bcf5
parent 33163 9e128b399e48
child 37272 c427db4ea8c4
equal deleted inserted replaced
35121:e8900e5763ff 35123:b0b89d83bcf5
    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