RFR: 8270179: Rename Amalloc_4 [v2]

Coleen Phillimore coleenp at openjdk.java.net
Mon Jul 12 14:22:56 UTC 2021


On Mon, 12 Jul 2021 14:11:30 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> This renames Amalloc_4 to AmallocWords.  While I had to fix internal_malloc_4, which is a copy of Amalloc_4 (except with UseMallocOnly handling), I also made the change for
>> JDK-8270217 Fix Arena::Amalloc to check for overflow better
>> Tested with tier1 - all Oracle platforms and tier1-3 on linux-x64.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Rename internal_malloc_words and add comment about Amalloc being wrong.

>From bug JDK-8007475
> Nevertheless I think the -XX:+UseMallocOnly option (which is also only available in the debug version of the VM) is important enough (i.e. very nice to hunt other memory problems) to fix the problem.

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

PR: https://git.openjdk.java.net/jdk/pull/4750


More information about the hotspot-dev mailing list