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. ------------- Commit messages: - 8299915: Remove ArrayAllocatorMallocLimit and associated code Changes: https://git.openjdk.org/jdk/pull/15859/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15859&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8299915 Stats: 265 lines in 8 files changed: 2 ins; 257 del; 6 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