make/bsd/makefiles/build_vm_def.sh

Tue, 14 May 2013 09:41:12 -0700

author
minqi
date
Tue, 14 May 2013 09:41:12 -0700
changeset 5103
f9be75d21404
parent 3156
f08d439fab8c
child 5299
91acb82a8b7a
permissions
-rw-r--r--

8012902: remove use of global operator new - take 2
Summary: The fix of 8010992, disable use of global operator new and new[] which caused failure on some tests. This takes two of the bugs also add ALLOW_OPERATOR_NEW_USAGE to prevent crash for third party code calling operator new of jvm on certain platforms.
Reviewed-by: coleenp, dholmes, zgu
Contributed-by: yumin.qi@oracle.com

never@3156 1 #!/bin/sh
never@3156 2
never@3156 3 # If we're cross compiling use that path for nm
never@3156 4 if [ "$CROSS_COMPILE_ARCH" != "" ]; then
never@3156 5 NM=$ALT_COMPILER_PATH/nm
never@3156 6 else
never@3156 7 NM=nm
never@3156 8 fi
never@3156 9
never@3156 10 $NM --defined-only $* | awk '
never@3156 11 { if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";" }
never@3156 12 '

mercurial