review(XXS): 7060842: UseNUMA crash with UseHugreTLBFS running SPECjvm2008

Igor Veresov igor.veresov at
Wed Aug 3 13:40:17 PDT 2011

It seems that madvise(MADV_FREE) breaks pages reservation semantics of 
the the underlying segment. With tight memory constraints this would 
cause a race for pages and a segfault if the JVM louses. The solution is 
to revert back to the previous implementation of os::free_memory() that 
used mmap().


Tested is gc test suite.


More information about the hotspot-compiler-dev mailing list