< prev index next >

src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.hpp

Print this page
*** 38,13 ***
                         VectorRegister vr1, VectorRegister vr2,
                         VectorRegister vrs,
                         bool is_latin, Label& DONE);
   public:
    // Code used by cmpFastLock and cmpFastUnlock mach instructions in .ad file.
-   // See full description in macroAssembler_riscv.cpp.
    void fast_lock(Register object, Register box, Register tmp1, Register tmp2, Register tmp3);
    void fast_unlock(Register object, Register box, Register tmp1, Register tmp2);
  
    void string_compare(Register str1, Register str2,
                        Register cnt1, Register cnt2, Register result,
                        Register tmp1, Register tmp2, Register tmp3,
                        int ae);
--- 38,15 ---
                         VectorRegister vr1, VectorRegister vr2,
                         VectorRegister vrs,
                         bool is_latin, Label& DONE);
   public:
    // Code used by cmpFastLock and cmpFastUnlock mach instructions in .ad file.
    void fast_lock(Register object, Register box, Register tmp1, Register tmp2, Register tmp3);
    void fast_unlock(Register object, Register box, Register tmp1, Register tmp2);
+   // Code used by cmpFastLockLightweight and cmpFastUnlockLightweight mach instructions in .ad file.
+   void fast_lock_lightweight(Register object, Register tmp1, Register tmp2, Register tmp3);
+   void fast_unlock_lightweight(Register object, Register tmp1, Register tmp2, Register tmp3);
  
    void string_compare(Register str1, Register str2,
                        Register cnt1, Register cnt2, Register result,
                        Register tmp1, Register tmp2, Register tmp3,
                        int ae);
< prev index next >