RFR: 8299915: Remove ArrayAllocatorMallocLimit and associated code [v3]
Afshin Zafari
azafari at openjdk.org
Tue Sep 26 08:17:17 UTC 2023
> 1. `ArrayAllocatorMallocLimit` is removed. The test cases that tested it also are removed.
> 2. `AllocArrayAllocator` instances are replaced with `MallocArrayAllocator`.
> 3. The signature of `CHeapBitMap::free(ptr, size)` is kept as it is, since it is called in this way from `GrowableBitMap<T>::resize`, where `T` can be also `ArenaBitMap` and `ResourceBitMap`. However, it uses `MallocArrayAllocator::free(ptr)` and ignores the `size`:
> ```C++
> void CHeapBitMap::free(bm_word_t* map, idx_t size_in_words) const {
> MallocArrayAllocator<bm_word_t>::free(map);
> }
>
> ### Test
> tiers1-4 passed on all platforms.
Afshin Zafari has updated the pull request incrementally with one additional commit since the last revision:
The size_t LargePageSizeInBytes option is used.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/15859/files
- new: https://git.openjdk.org/jdk/pull/15859/files/623d076f..4a739243
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=15859&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=15859&range=01-02
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/15859.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/15859/head:pull/15859
PR: https://git.openjdk.org/jdk/pull/15859
More information about the serviceability-dev
mailing list