make/solaris/makefiles/build_vm_def.sh

Wed, 13 Jun 2012 19:52:59 -0400

author
coleenp
date
Wed, 13 Jun 2012 19:52:59 -0400
changeset 3865
e9140bf80b4a
parent 0
f90c822e73f8
permissions
-rw-r--r--

7158800: Improve storage of symbol tables
Summary: Use an alternate version of hashing algorithm for symbol string tables and after a certain bucket size to improve performance
Reviewed-by: pbk, kamg, dlong, kvn, fparain

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

mercurial