[webkit-dev] constant pool space and jit

Geoffrey Garen ggaren at apple.com
Thu Mar 26 13:28:43 PDT 2009


> I was wondering whether it is possible to remove the constant pool  
> area in
> jit.

It is.

> RegisterFile contents right now:
> ... [ CallFrame ] [ Cleared const pool ] [ temporary SF  
> registers ] ...
>
> (SF means SquirellFish)
>
> The constant pool is only used by interpreter, the jit simply clears  
> the
> area. It is not important on desktop systems, because of the big  
> caches,
> but in arm, that is a waste of cache space. I think shifting the  
> remporary
> SF registers by the size of the constant pool and changing some  
> variables
> (i.e: m_numConstants set to 0) in the CodeBlock during jit compilation
> might be enough to implement this optimization. Do you agree?

Yes.

Geoff


More information about the webkit-dev mailing list