hsperfdata causing long GC/safepoint times: Don't use mmap?

Evan Jones ejones at twitter.com
Thu Mar 26 21:25:10 UTC 2015


On Thu, Mar 26, 2015 at 4:15 PM, Dean Long <dean.long at oracle.com> wrote:

> I'm curious, does the problem go away if the mmap doesn't use MAP_SHARED?


That is a variant I did not try, however for the JVM stats I don't think
that would work. Doesn't MAP_PRIVATE mean that the modifications to the
mmap-ed file are not written back to disk? The point of this shared file is
that other tools can read the statistics.


More information about the hotspot-runtime-dev mailing list