The CMSCollector constructor has a lot of code for handling malloc failures, search for
"warning(... allocation failure)"
Since the default reaction to malloc failures is to call vm_exit_out_of_memory and this is initial setup code it would be much cleaner to simply get rid of the failure handling code.
"warning(... allocation failure)"
Since the default reaction to malloc failures is to call vm_exit_out_of_memory and this is initial setup code it would be much cleaner to simply get rid of the failure handling code.
- duplicates
-
JDK-8016276 CMS concurrentMarkSweepGeneration contains lots of unnecessary allocation failure handling
-
- Resolved
-