Shark improved constant pool cache access

Gary Benson gbenson at redhat.com
Thu Mar 5 05:51:45 PST 2009


Hi all,

The patch I just pushed makes Shark omit the code to resolve constant
pool cache entries for entries that are already resolved at compile
time.  This reduces both the compile time and native code size of many
methods, and has a decent speedup too.  (Numbers not produced in
compliance with the SPECjvm98 run rules and so not comparable with
SPECjvm98 metrics):

              Original   Inlining    Speedup
  compress      11.642     11.111       4.6%
  jess           8.478      8.401       0.9%
  db            16.426     16.223       1.2%
  javac         13.204     12.810       3.0%
  mpegaudio      7.859      6.992      11.0%
  mtrt           7.917      7.583       4.2%
  jack           9.958      9.462       5.0%

Cheers,
Gary

-- 
http://gbenson.net/



More information about the distro-pkg-dev mailing list