> 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: MetaspaceSize and its lower bound is used. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/15859/files - new: https://git.openjdk.org/jdk/pull/15859/files/4a739243..e2acfcb8 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=15859&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15859&range=02-03 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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