Re: RFR: 8299915: Remove ArrayAllocatorMallocLimit and associated code [v2]

2023-09-26 Thread Afshin Zafari
On Tue, 26 Sep 2023 02:07:41 GMT, David Holmes wrote: >> Afshin Zafari has updated the pull request incrementally with one additional >> commit since the last revision: >> >> other size_t flags than the ArrayAllocatorMallocLimit are used in tests. > > test/lib-test/jdk/test/whitebox/vm_flags/

Re: RFR: 8299915: Remove ArrayAllocatorMallocLimit and associated code [v2]

2023-09-26 Thread Afshin Zafari
On Tue, 26 Sep 2023 02:04:14 GMT, David Holmes wrote: >> Afshin Zafari has updated the pull request incrementally with one additional >> commit since the last revision: >> >> other size_t flags than the ArrayAllocatorMallocLimit are used in tests. > > test/hotspot/jtreg/serviceability/attach/

Re: RFR: 8299915: Remove ArrayAllocatorMallocLimit and associated code [v2]

2023-09-25 Thread David Holmes
On Mon, 25 Sep 2023 09:20:20 GMT, Afshin Zafari wrote: >> 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

Re: RFR: 8299915: Remove ArrayAllocatorMallocLimit and associated code [v2]

2023-09-25 Thread Afshin Zafari
On Fri, 22 Sep 2023 02:40:39 GMT, David Holmes wrote: >> Afshin Zafari has updated the pull request incrementally with one additional >> commit since the last revision: >> >> other size_t flags than the ArrayAllocatorMallocLimit are used in tests. > > test/hotspot/jtreg/serviceability/attach/

Re: RFR: 8299915: Remove ArrayAllocatorMallocLimit and associated code [v2]

2023-09-25 Thread Afshin Zafari
> 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 `GrowableBitMa

Re: RFR: 8299915: Remove ArrayAllocatorMallocLimit and associated code [v2]

2023-01-10 Thread Justin King
> Remove abstraction that is a holdover from Solaris. Direct usages of > `MmapArrayAllocator` have been switched to normal `malloc`. The justification > is that none of the code paths are called from signal handlers, so using > `mmap` directly does not make sense and is potentially slower than g