Review request: 8004697: SIGSEGV on Solaris sparc with -XX:+UseNUMA
Stefan Karlsson
stefan.karlsson at oracle.com
Mon Mar 11 10:04:02 UTC 2013
http://cr.openjdk.java.net/~stefank/8004697/webrev.00/
The JVM crashes because it accidentally frees memory in the survivor
regions, at one point where it is supposed to only free freeing memory
in the eden.
The code in os::scan_pages(start, end, ...) in solaris_os.cpp looks at
pages starting beyond 'end'. This causes
MutableNUMASpace::LGRPSpace::scan_pages to free memory outside eden,
when the last page starts in, but ends outside of eden.
Testing: The JVM used to crash within in a couple of minutes. With the
patch, the test has been running over the weekend without any crashes.
thanks,
StefanK
More information about the hotspot-gc-dev
mailing list