Kevin Svetlitski 5a858c64d6 Reduce the memory overhead of sampled small allocations
Previously, small allocations which were sampled as part of heap
profiling were rounded up to `SC_LARGE_MINCLASS`. This additional memory
usage becomes problematic when the page size is increased, as noted in #2358.

Small allocations are now rounded up to the nearest multiple of `PAGE`
instead, reducing the memory overhead by a factor of 4 in the most
extreme cases.
2023-07-03 16:19:06 -07:00
..
2022-09-16 15:04:59 -07:00
2022-09-16 15:04:59 -07:00
2017-03-06 15:08:43 -08:00
2020-07-09 13:41:04 -07:00
2021-12-20 15:37:53 -08:00
2019-09-23 23:06:27 -07:00
2019-11-21 11:08:36 -08:00
2019-12-20 10:18:40 -08:00
2021-02-04 14:10:43 -08:00
2020-05-11 14:51:24 -07:00
2023-05-01 10:21:17 -07:00
2020-05-12 08:23:15 -07:00
2021-12-15 10:39:17 -08:00
2023-05-04 09:59:17 -07:00
2021-09-26 16:30:15 -07:00
2020-05-11 14:51:24 -07:00
2020-11-13 13:42:33 -08:00
2023-05-08 15:00:02 -07:00
2021-02-04 20:58:31 -08:00
2020-02-13 12:25:26 -08:00
2022-05-18 17:01:09 -07:00
2023-03-10 11:25:47 -08:00
2022-04-25 11:29:00 -07:00
2020-05-12 08:23:15 -07:00
2020-05-11 14:51:24 -07:00
2021-06-24 14:55:49 -07:00
2021-01-07 20:39:49 -08:00
2021-12-23 10:55:08 -08:00
2022-04-25 11:29:00 -07:00
2021-12-15 10:39:17 -08:00
2023-06-23 11:50:29 -07:00
2020-10-05 19:55:57 -07:00
2021-09-22 15:04:01 -07:00
2021-07-12 17:59:18 -07:00
2020-04-11 10:32:11 -07:00
2020-04-11 10:32:11 -07:00
2023-06-23 11:50:29 -07:00
2023-06-23 11:50:29 -07:00
2022-04-25 11:29:00 -07:00
2019-09-23 23:06:27 -07:00
2017-05-25 16:52:10 -07:00
2017-05-25 16:52:10 -07:00
2017-10-04 18:37:23 -07:00
2020-10-23 11:14:34 -07:00
2023-04-05 10:16:37 -07:00
2019-04-16 11:07:15 -07:00
2021-02-04 14:10:43 -08:00