equal
deleted
inserted
replaced
809 |
809 |
810 // Helper functions to build synchronizations |
810 // Helper functions to build synchronizations |
811 int next_monitor(); |
811 int next_monitor(); |
812 Node* insert_mem_bar(int opcode, Node* precedent = NULL); |
812 Node* insert_mem_bar(int opcode, Node* precedent = NULL); |
813 Node* insert_mem_bar_volatile(int opcode, int alias_idx, Node* precedent = NULL); |
813 Node* insert_mem_bar_volatile(int opcode, int alias_idx, Node* precedent = NULL); |
814 void insert_store_load_for_barrier(); |
|
815 // Optional 'precedent' is appended as an extra edge, to force ordering. |
814 // Optional 'precedent' is appended as an extra edge, to force ordering. |
816 FastLockNode* shared_lock(Node* obj); |
815 FastLockNode* shared_lock(Node* obj); |
817 void shared_unlock(Node* box, Node* obj); |
816 void shared_unlock(Node* box, Node* obj); |
818 |
817 |
819 // helper functions for the fast path/slow path idioms |
818 // helper functions for the fast path/slow path idioms |