File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3045,18 +3045,18 @@ static void zend_jit_record_dirty_func_info(zend_func_info *func_info)
30453045 abort ();
30463046 }
30473047 zend_jit_dirty_func_infos -> func_info [count ] = func_info ;
3048- ZEND_ATOMIC_FENCE_RELEASE ( );
3048+ atomic_thread_fence ( memory_order_release );
30493049 zend_jit_dirty_func_infos -> count = count + 1 ;
30503050 /* Record before writing, so the next compilation can reset what a killed process left */
3051- ZEND_ATOMIC_FENCE_RELEASE ( );
3051+ atomic_thread_fence ( memory_order_release );
30523052}
30533053
30543054static void zend_jit_reset_dirty_func_infos (void )
30553055{
30563056 for (uint32_t i = 0 ; i < zend_jit_dirty_func_infos -> count ; i ++ ) {
30573057 zend_jit_reset_func_info (zend_jit_dirty_func_infos -> func_info [i ]);
30583058 }
3059- ZEND_ATOMIC_FENCE_RELEASE ( );
3059+ atomic_thread_fence ( memory_order_release );
30603060 zend_jit_dirty_func_infos -> count = 0 ;
30613061}
30623062
Original file line number Diff line number Diff line change @@ -7802,7 +7802,7 @@ static void zend_jit_stop_counter_handlers(void)
78027802 }
78037803 }
78047804 /* Set last, so the next call redoes a loop that a killed process left half done */
7805- ZEND_ATOMIC_FENCE_RELEASE ( );
7805+ atomic_thread_fence ( memory_order_release );
78067806 ZCSG (jit_counters_stopped ) = true;
78077807 }
78087808 SHM_PROTECT ();
You can’t perform that action at this time.
0 commit comments