< prev index next >

src/hotspot/share/interpreter/invocationCounter.hpp

Print this page

        

*** 36,46 **** // Implementation notes: For space reasons, state & counter are both encoded in one word, // The state is encoded using some of the least significant bits, the counter is using the // more significant bits. The counter is incremented before a method is activated and an // action is triggered when count() > limit(). ! class InvocationCounter VALUE_OBJ_CLASS_SPEC { friend class VMStructs; friend class JVMCIVMStructs; friend class ciReplay; private: // bit no: |31 3| 2 | 1 0 | unsigned int _counter; // format: [count|carry|state] --- 36,46 ---- // Implementation notes: For space reasons, state & counter are both encoded in one word, // The state is encoded using some of the least significant bits, the counter is using the // more significant bits. The counter is incremented before a method is activated and an // action is triggered when count() > limit(). ! class InvocationCounter { friend class VMStructs; friend class JVMCIVMStructs; friend class ciReplay; private: // bit no: |31 3| 2 | 1 0 | unsigned int _counter; // format: [count|carry|state]
< prev index next >