So based on the stats I gathered I've turned round the cache ordering of normal call sites and set our max_chain length to 3 (and made it settable via a system property). This has made several benchmarks involving core arrays classes over twice as fast. I do see a little slowdown on tests that push many classes through call sites with equal probability, but that's to be expected since I'm now keeping the PIC in place.
Overall it's made the benchmark suite 8% faster, and seems to have improved had a small but good effect on some application performance tests. I'd better add some instrumentation to our binary operator call sites, they may also benefit from oldest first ordering on the PIC. On 21/12/2012 15:37, "Remi Forax" <fo...@univ-mlv.fr> wrote: >On 12/21/2012 04:07 PM, MacGregor, Duncan (GE Energy Management) wrote: >> Did you ever get a result from this? I haven't got round to >> instrumentation for our gwt chains that finely, but I'm curious what >> results you got. > >It's still on my TODO list, Java lambda stuff claim most of my time >devoted to OpenJDK ... > >Rémi > >> >> On 30/11/2012 08:12, "Remi Forax" <fo...@univ-mlv.fr> wrote: >> >>> There is a nice article about the JIT that Facebook uses in his HipHop >>>VM. >>> >>>https://www.facebook.com/notes/facebook-engineering/speeding-up-php-base >>>d- >>> development-with-hiphop-vm/10151170460698920 >>> >>> They have an inline cache with several guards and they found that it >>>was >>> better from the perf point of view to link the guard by putting the >>> older first instead of putting the newer first. I wonder if there is >>>the >>> same effect for other languages, I will test with Java + a dedicated >>> indy logic with week end. >>> >>> Rémi >>> >>> -- >>> You received this message because you are subscribed to the Google >>>Groups >>> "JVM Languages" group. >>> To post to this group, send email to jvm-languages@googlegroups.com. >>> To unsubscribe from this group, send email to >>> jvm-languages+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/jvm-languages?hl=en. >>> > >-- >You received this message because you are subscribed to the Google Groups >"JVM Languages" group. >To post to this group, send email to jvm-languages@googlegroups.com. >To unsubscribe from this group, send email to >jvm-languages+unsubscr...@googlegroups.com. >For more options, visit this group at >http://groups.google.com/group/jvm-languages?hl=en. > -- You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to jvm-languages@googlegroups.com. To unsubscribe from this group, send email to jvm-languages+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en.