hotspot/make/solaris/makefiles/build_vm_def.sh
author iklam
Fri, 18 Sep 2015 09:48:49 -0700
changeset 32821 ef088e4410ea
parent 10559 a94d067da388
permissions -rw-r--r--
8065155: Refactor Hotspot mapfiles Summary: Moved common exported functions to make/share/makefiles/mapfile-vers Reviewed-by: ihse, bdelsart

#!/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