Returns the holding pointer. NOTE(liujinnan): Make this method as a virtual method. Because we add memory compact func for VirtualMemoryAutoGrowthBestFitAllocator. it will change ptr_ for defragmentation.
| 60 | // memory compact func for VirtualMemoryAutoGrowthBestFitAllocator. it will |
| 61 | // change ptr_ for defragmentation. |
| 62 | virtual void* ptr() const noexcept { return ptr_; } |
| 63 | void set_ptr(void* new_ptr) noexcept { ptr_ = new_ptr; } |
| 64 | |
| 65 | uint64_t id() const noexcept { return id_; } |
no outgoing calls
no test coverage detected