view make/solaris/makefiles/build_vm_def.sh @ 12218:6f45933aef35

7149464: [TESTBUG] Test runtime/7020373/Test7020373.sh failed to clean up files after test Summary: Re-wrote in Java, this also eliminated temporary result file; set upper limit on malloc'd memory Reviewed-by: dcubed, dholmes, ccheung
author mseledtsov
date Tue, 17 Sep 2013 20:20:03 +0200
parents da0999c4b733
children
line wrap: on
line source

#!/bin/sh

/usr/ccs/bin/nm -p $* \
    | awk '{
          if ($2 == "U") next
          if ($3 ~ /^__1c.*__vtbl_$/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";"
          if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";"
          if ($3 ~ /^__1cJArgumentsRSharedArchivePath_$/) print "\t" $3 ";"
          }' \
    | sort -u