[Webkit-unassigned] [Bug 32561] [jsc] Provide a OProfile JIT agent (opagent) for the code generated by the JIT

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 15 09:56:30 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32561


Zoltan Herczeg <zherczeg at inf.u-szeged.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |loki at inf.u-szeged.hu




--- Comment #2 from Zoltan Herczeg <zherczeg at inf.u-szeged.hu>  2009-12-15 09:56:30 PST ---
Hi,

wow, seems rather easy to work with oprofile.

>     - The places I have patched. Are they the right one?

I would consider to patch the platform dependent executableCopy(...) functions
in JavaScriptCore/assembler directory, since all JIT code is allocated through
this function. Although it does not provide information about the purpose of
the JIT code. (whole function, common code (machine trampolines), property
cache code fragment, etc.)

>     - The way it is patched..

Most of the code in JavaScriptCore refactored not to use plain void* pointers
(Although I like void* pointers, since its purpose is clear). Perhaps passing a
CodePtr (m_jitCode) would be the preferred way.

>     - The buildsystem change

I am not an expert on this topic, so it is fine by me.

>     - And if I should patch it in a similiar way for YARR (when JITTED)

Seems necessary if we don't want to change the executableCopy().

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list