< prev index next >

src/hotspot/share/opto/c2_CodeStubs.hpp

Print this page
*** 101,18 ***
--- 101,20 ---
  private:
    Register _obj;
    Register _mark;
    Register _t;
    Register _thread;
+   Label _slow_path;
    Label _push_and_slow_path;
    Label _check_successor;
    Label _unlocked_continuation;
  public:
    C2FastUnlockLightweightStub(Register obj, Register mark, Register t, Register thread) : C2CodeStub(),
      _obj(obj), _mark(mark), _t(t), _thread(thread) {}
    int max_size() const;
    void emit(C2_MacroAssembler& masm);
+   Label& slow_path() { return _slow_path; }
    Label& push_and_slow_path() { return _push_and_slow_path; }
    Label& check_successor() { return _check_successor; }
    Label& unlocked_continuation() { return _unlocked_continuation; }
    Label& slow_path_continuation() { return continuation(); }
  };

*** 128,11 ***
    Register monitor() { return _monitor; }
    Register tmp() { return _tmp; }
    int max_size() const;
    void emit(C2_MacroAssembler& masm);
  };
! #endif
  
  //-----------------------------C2GeneralStub-----------------------------------
  // A generalized stub that can be used to implement an arbitrary stub in a
  // type-safe manner. An example:
  //
--- 130,11 ---
    Register monitor() { return _monitor; }
    Register tmp() { return _tmp; }
    int max_size() const;
    void emit(C2_MacroAssembler& masm);
  };
! #endif // _LP64
  
  //-----------------------------C2GeneralStub-----------------------------------
  // A generalized stub that can be used to implement an arbitrary stub in a
  // type-safe manner. An example:
  //
< prev index next >