RFR(XS): 8193521: glibc wastes memory with default configuration

Robbin Ehn robbin.ehn at oracle.com
Fri Dec 15 12:30:58 UTC 2017


On 12/14/2017 08:06 PM, Andrew Haley wrote:
> On 14/12/17 18:51, Doerr, Martin wrote:
>> And I also assume that most JVM users don't know that the JVM has own arena implementation etc. which makes glibc arenas under the hood useless for these kind of allocations.
>> So I think it would be nice if we could help these people.
> 
> So, here's a radical thought: why are we using malloc() at all?
> Shouldn't we be calling mmap() and then basing our arena in that?

+1

/Robbin

> 


More information about the hotspot-runtime-dev mailing list