view make/bsd/makefiles/build_vm_def.sh @ 23033:b6ca1802dc7c

8079644: memory stomping error with ResourceManagement and TestAgentStress.java Summary: the cached class file structure must be deallocated instead of the cached class file bytes Reviewed-by: coleenp, sla
author sspitsyn
date Wed, 20 May 2015 02:57:25 -0700
parents 91acb82a8b7a
children
line wrap: on
line source

#!/bin/sh

# If we're cross compiling use that path for nm
if [ "$CROSS_COMPILE_ARCH" != "" ]; then 
NM=$ALT_COMPILER_PATH/nm
else
NM=nm
fi

$NM -Uj $* | awk '
   { if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 }
   '