8214388: CDS dumping fails with java heap fragmentation
Summary: Force a full GC with a single thread before writing heap archive regions
Reviewed-by: sjohanss, jiangli
^build/
^dist/
^.idea/
nbproject/private/
^webrev
^.src-rev$
^.jib/
\.DS_Store
\.metadata/
\.recommenders/
test/nashorn/script/external
test/nashorn/lib
NashornProfile.txt
.*/JTreport/.*
.*/JTwork/.*
.*/.git/.*