Default UseTLAB on Zero

Xerxes Rånby xerxes at zafena.se
Mon Feb 20 07:47:24 PST 2012


2012-02-20 14:26, Andrew Haley skrev:
> I noticed that, on Zero, UseTLAB defaults to false, because of this
> code:
> 
> #if !defined(COMPILER1) && !defined(COMPILER2) && !defined(SHARK)
> define_pd_global(bool, BackgroundCompilation,        false);
> define_pd_global(bool, UseTLAB,                      false);
>  ...
> 
> I don't understand why this is.  Surely it only pointlessly slows
> down Zero.  Any ideas?
> 
> Thanks,
> Andrew.

OK!

I checked the jdk6 hotspot log http://hg.openjdk.java.net/jdk6/jdk6/hotspot/annotate/20dbc199874e/src/share/vm/runtime/globals.hpp      it have been turned off since the initial  duke at 0   commit.

Shark have always used UseTLAB and ResizeTLAB true in its shark_globals_zero.hpp .

I think this part have simply been missed to be turned ON for Zero builds.

Xerxes




More information about the hotspot-dev mailing list