Mon, 08 Oct 2012 09:18:54 -0400
7170638: Use DTRACE_PROBE[N] in JNI Set and SetStatic Field.
Summary: Don't use HS_DTRACE_PROBE_CDECL_N and HS_DTRACE_PROBE_N directly.
Reviewed-by: coleenp, kamg, dholmes, sspitsyn
Contributed-by: Mark Wielaard <mjw@redhat.com>
1 #!/bin/sh
3 # If we're cross compiling use that path for nm
4 if [ "$CROSS_COMPILE_ARCH" != "" ]; then
5 NM=$ALT_COMPILER_PATH/nm
6 else
7 NM=nm
8 fi
10 $NM --defined-only $* \
11 | awk '{
12 if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";"
13 if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";"
14 if ($3 ~ /^_ZN9Arguments17SharedArchivePathE$/) print "\t" $3 ";"
15 }' \
16 | sort -u