v8/src/zone
Clemens Backes 205fb2958b Fail earlier on FreePages
{FreePages} is never expected to fail, and each caller wraps the call in
a CHECK macro. In order to learn more about failures, this CL moves the
CHECK inside of {::FreePages}, to fail whenever the {PageAllocator}
fails to free pages.

As a next step, I'll audit our {PageAllocator} implementations to ensure
that none of them return {false} for {FreePages}. Note that this is
already the case for the gin platform (chromium).

R=mlippautz@chromium.org

Bug: v8:12656, chromium:1299735
Change-Id: Ib61be6cc8da0110ead2db1ad005728bd061e0243
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3484321
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79248}
2022-02-24 10:12:50 +00:00
..
accounting-allocator.cc Fail earlier on FreePages 2022-02-24 10:12:50 +00:00
accounting-allocator.h [zone] Provide a way to configure allocator for zone backings 2021-09-23 12:45:52 +00:00
compressed-zone-ptr.h [zone-compr] Add CompressedZonePtr class and compress TurboFan graphs 2020-07-31 12:11:49 +00:00
OWNERS Update OWNERS in src/* 2021-02-25 14:22:51 +00:00
type-stats.cc Replace libc functions with base wrappers 2020-11-17 08:50:41 +00:00
type-stats.h [zone-stats] Implement collecting per-object-type zone stats 2020-07-21 17:38:02 +00:00
zone-allocator.h Reland "[zone-compr] Introduce ZoneTypeTraits and ZoneCompression" 2020-07-31 11:43:08 +00:00
zone-chunk-list.h [zone][cleanup] Remove uses of DISALLOW_COPY_AND_ASSIGN 2020-11-11 10:03:27 +00:00
zone-compression.h Reland "[zone-compr] Introduce ZoneTypeTraits and ZoneCompression" 2020-07-31 11:43:08 +00:00
zone-containers.h Add bucket_count parameter to ZoneUnorderedSet 2020-10-06 19:02:15 +00:00
zone-handle-set.h Fix some -Wdeprecated-copy warnings. 2021-06-18 18:08:15 +00:00
zone-hashmap.h [cleanup] Split src/zone/zone.h header 2020-07-08 10:30:20 +00:00
zone-list-inl.h [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
zone-list.h [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
zone-segment.cc base: Add ASAN and MSAN support 2021-04-27 13:04:15 +00:00
zone-segment.h Move remaining files in src/ 2019-05-24 18:24:36 +00:00
zone-type-traits.h [zone-compr] Add CompressedZonePtr class and compress TurboFan graphs 2020-07-31 12:11:49 +00:00
zone-utils.h [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
zone.cc [zone-stats] Fix race-condition when reading Zone stats across threads 2022-02-18 13:45:35 +00:00
zone.h [zone-stats] Fix race-condition when reading Zone stats across threads 2022-02-18 13:45:35 +00:00