RFR: 8297766: Remove UseMallocOnly development option

Coleen Phillimore coleenp at openjdk.org
Fri Dec 2 18:12:13 UTC 2022


On Thu, 1 Dec 2022 15:37:56 GMT, Afshin Zafari <duke at openjdk.org> wrote:

> ### Description
> The UseMallocOnly development option was originally used to detect memory stomping bugs with Arena allocations when the JVM was first in development.
> 
> The option has had a few bugs and is not in general use. There are ideas to add another way of Arena canary checking.
> 
> ### Patch:
> All occurrences of UseMallocOnly are removed.
> 
> ### Tests:
> Local, gTests: resourceArea and Arena
> Mach5: tier1-5

I added real_allocate_handle()  - I don't see why not keep it, with the comment about UseMallocOnly removed.

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

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


More information about the hotspot-dev mailing list