RFR: JDK-8129961 : SIGSEGV when copying to survivor space

Eric Caspole eric.caspole at oracle.com
Fri Jul 10 19:52:39 UTC 2015

Hi everybody,
Please review this fix for JDK-8129961



The problem was that the enum GenCollectedHeap::YoungGen == 0  and it 
was interpreted as "false" in no_allocs_since_save_marks() after a 
recent refactoring.

Since there is no place in the code either serial gc or parNew where it 
ever passes "false" to avoid rescanning young gens, I want to remove the 
parameter so it will always scan young and old gens. That is simpler to 
read and removes this type of problem.
Passed JPRT.
Let me know what you think.

More information about the hotspot-gc-dev mailing list