| 977 | } |
| 978 | |
| 979 | static inline void* SpanToMallocResult(Span *span) { |
| 980 | Static::pageheap()->CacheSizeClass(span->start, 0); |
| 981 | return |
| 982 | CheckedMallocResult(reinterpret_cast<void*>(span->start << kPageShift)); |
| 983 | } |
| 984 | |
| 985 | static void* DoSampledAllocation(size_t size) { |
| 986 | // Grab the stack trace outside the heap lock |
no test coverage detected