hotspot/make/linux/makefiles/build_vm_def.sh
changeset 10559 a94d067da388
parent 7445 57d387675180
--- a/hotspot/make/linux/makefiles/build_vm_def.sh	Thu Sep 15 20:56:24 2011 -0700
+++ b/hotspot/make/linux/makefiles/build_vm_def.sh	Fri Sep 16 16:21:20 2011 -0700
@@ -7,6 +7,10 @@
 NM=nm
 fi
 
-$NM --defined-only $* | awk '
-   { if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";" }
-   '
+$NM --defined-only $* \
+    | awk '{
+              if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";"
+              if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";"
+              if ($3 ~ /^_ZN9Arguments17SharedArchivePathE$/) print "\t" $3 ";"
+          }' \
+    | sort -u