Mon, 29 Apr 2013 16:13:57 -0400
8011773: Some tests on Interned String crashed JVM with OOM
Summary: Instead of terminating the VM, throw OutOfMemoryError exceptions.
Reviewed-by: coleenp, dholmes
aoqi@0 | 1 | #!/bin/sh |
aoqi@0 | 2 | |
aoqi@0 | 3 | /usr/ccs/bin/nm -p $* \ |
aoqi@0 | 4 | | awk '{ |
aoqi@0 | 5 | if ($2 == "U") next |
aoqi@0 | 6 | if ($3 ~ /^__1c.*__vtbl_$/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";" |
aoqi@0 | 7 | if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";" |
aoqi@0 | 8 | if ($3 ~ /^__1cJArgumentsRSharedArchivePath_$/) print "\t" $3 ";" |
aoqi@0 | 9 | }' \ |
aoqi@0 | 10 | | sort -u |