src/share/vm/opto/machnode.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 8031320_8u Cdiff src/share/vm/opto/machnode.hpp

src/share/vm/opto/machnode.hpp

Print this page
rev 5968 : 8031320: Use Intel RTM instructions for locks
Summary: Use RTM for inflated locks and stack locks.
Reviewed-by: iveresov, twisti, roland, dcubed

*** 50,59 **** --- 50,60 ---- class MachSafePointNode; class MachSpillCopyNode; class Matcher; class PhaseRegAlloc; class RegMask; + class RTMLockingCounters; class State; //---------------------------MachOper------------------------------------------ class MachOper : public ResourceObj { public:
*** 619,629 **** // Machine-specific versions of FastLockNodes class MachFastLockNode : public MachNode { virtual uint size_of() const { return sizeof(*this); } // Size is bigger public: BiasedLockingCounters* _counters; ! MachFastLockNode() : MachNode() {} }; //------------------------------MachReturnNode-------------------------------- // Machine-specific versions of subroutine returns --- 620,631 ---- // Machine-specific versions of FastLockNodes class MachFastLockNode : public MachNode { virtual uint size_of() const { return sizeof(*this); } // Size is bigger public: BiasedLockingCounters* _counters; ! RTMLockingCounters* _rtm_counters; // RTM lock counters for inflated locks ! RTMLockingCounters* _stack_rtm_counters; // RTM lock counters for stack locks MachFastLockNode() : MachNode() {} }; //------------------------------MachReturnNode-------------------------------- // Machine-specific versions of subroutine returns
src/share/vm/opto/machnode.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File