Default UseTLAB on Zero
christian.thalinger at oracle.com
Wed Mar 14 09:52:15 PDT 2012
On Mar 5, 2012, at 1:55 PM, Gary Benson wrote:
> Hi guys,
> Christian Thalinger wrote:
>> On Feb 20, 2012, at 4:47 PM, Xerxes Rånby wrote:
>>> 2012-02-20 14:26, Andrew Haley skrev:
>>>> I noticed that, on Zero, UseTLAB defaults to false, because of this
>>>> #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?
>>> I checked the jdk6 hotspot log
>>> 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.
>> It's this push:
>> We should ask Gary why it's turned off.
> I think it's a mistake, I thought it was turned on.
Andrew, do you want to turn it on for Zero?
More information about the hotspot-dev