make/solaris/makefiles/build_vm_def.sh

Thu, 26 Jul 2012 17:24:31 -0400

author
jiangli
date
Thu, 26 Jul 2012 17:24:31 -0400
changeset 3946
43541217e9f7
parent 0
f90c822e73f8
permissions
-rw-r--r--

7187046: Crash in ClassFileParser on solaris-ia32 during RetransformClasses.
Summary: Lower compiler optimization level when compiling jvmtiClassFileReconstituter.cpp as a workaround for the solaris x86 5.10 cc bug.
Reviewed-by: kvn, coleenp

     1 #!/bin/sh
     3 /usr/ccs/bin/nm -p $* \
     4     | awk '{
     5           if ($2 == "U") next
     6           if ($3 ~ /^__1c.*__vtbl_$/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";"
     7           if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";"
     8           if ($3 ~ /^__1cJArgumentsRSharedArchivePath_$/) print "\t" $3 ";"
     9           }' \
    10     | sort -u

mercurial