Description
The static ThreadHeapSampler::_log_table is initialized on JVM bootstrap to an overhead of ~67k instructions. By utilizing constexpr, we can precalculate the helper table at compile time, which trades a runtime overhead for a small, 8kb, static footprint increase.