[webkit-dev] constant pool space and jit
Zoltan Herczeg
zherczeg at inf.u-szeged.hu
Thu Mar 26 02:20:24 PDT 2009
Hi,
I was wondering whether it is possible to remove the constant pool area in
jit.
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?
Zoltan
More information about the webkit-dev
mailing list