Withdrawn: 8299915: Remove ArrayAllocatorMallocLimit and associated code

duke duke at openjdk.org
Sat Apr 15 01:47:50 UTC 2023


On Tue, 10 Jan 2023 20:55:12 GMT, Justin King <jcking at openjdk.org> wrote:

> 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 going through `malloc` which can potentially re-use memory without making any system calls. The remaining usages of `ArrayAllocator` and `MallocArrayAllocator` are equivalent.

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.org/jdk/pull/11931


More information about the hotspot-dev mailing list