AbstractStringBuilder::append less inlined?
rednaxelafx at gmail.com
Fri Jul 4 00:13:20 UTC 2014
I agree with Vitaly. Tiered compilation may well be the reason you're
seeing different logging -- in other words, your test is probably too short
so that when tiered compilation is turned on, you're only seeing C1's
compilation logs, and C2 compilation hasn't happened yet.
Try turning on -XX:+TieredCompilation on JDK7u and turning it off on JDK8
for comparison :-)
On Thu, Jul 3, 2014 at 5:09 PM, Vitaly Davidovich <vitalyd at gmail.com> wrote:
> Hi Bernd,
> Are you testing with tiered compilation on java 8? If so, what happens if
> you turn it off?
> Sent from my phone
> On Jul 3, 2014 8:01 PM, "Bernd Eckenfels" <ecki at zusammenkunft.net> wrote:
> > Hello,
> > in Java7 (U51 in this case) I do some testing with print inlining,
> > and I noticed that all possible executions of
> > AbstractStringBuilder::append had been inlined (hot) in thise tests.
> > Opposed to that I see a lot of too big messages for Java 8. I wonder if
> > this is known/intentional?
> > (The tests do run faster on 8, so its not a real problem).
> > Java7
> > xxx java.lang.AbstractStringBuilder::append (48 bytes) inline (hot)
> > and for Java8 (U5, 64bit Windows)
> > java.lang.AbstractStringBuilder::append (50 bytes) callee is too large
> > Greetings
> > Bernd
More information about the core-libs-dev