| 29 | } |
| 30 | |
| 31 | void MemAllocPlan::ReadonlyFwdList::remove_self() { |
| 32 | MGB_LOCK_GUARD(list_mutex); |
| 33 | if (m_prev) { |
| 34 | if (m_next) { |
| 35 | m_prev->m_readonly_fwd_list.m_next = m_next; |
| 36 | m_next->m_readonly_fwd_list.m_prev = m_prev; |
| 37 | } else { |
| 38 | m_prev->m_readonly_fwd_list.m_next = nullptr; |
| 39 | } |
| 40 | m_prev = m_next = nullptr; |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | MemAllocPlan::Chunk MemAllocPlan::sm_chunk_invalid_cond_exec_marker{nullptr}; |
| 45 |