| 93 | |
| 94 | template <bool IsNoExcept> |
| 95 | JEMALLOC_NOINLINE |
| 96 | static void * |
| 97 | fallback_impl(std::size_t size) noexcept(IsNoExcept) { |
| 98 | void *ptr = malloc_default(size); |
| 99 | if (likely(ptr != nullptr)) { |
| 100 | return ptr; |
| 101 | } |
| 102 | return handleOOM(size, IsNoExcept); |
| 103 | } |
| 104 | |
| 105 | template <bool IsNoExcept> |
| 106 | JEMALLOC_ALWAYS_INLINE |
nothing calls this directly
no test coverage detected