8207200: Committed > max memory usage when getting MemoryUsage
Summary: Make sure that modification of memory usage variables are synchronized with returning them to Java.
Reviewed-by: sangheki, mchung
^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/.*