Mercurial > hg > truffle
view make/linux/makefiles/build_vm_def.sh @ 4737:75c0a73eee98
7102776: Pack instanceKlass boolean fields into single u1 field
Summary: Reduce class runtime memory usage by packing 4 instanceKlass boolean fields into single u1 field. Save 4-byte for each loaded class.
Reviewed-by: dholmes, bobv, phh, twisti, never, coleenp
Contributed-by: Jiangli Zhou <jiangli.zhou@oracle.com>
author | coleenp |
---|---|
date | Thu, 17 Nov 2011 12:53:59 -0500 |
parents | da0999c4b733 |
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 --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