[webkit-dev] Instrumenting JavaScriptCore

Erick Lavoie erick.lavoie at gmail.com
Mon Nov 12 19:55:02 PST 2012


A research team instrumented JavaScriptCore in 2010 to gather empirical 
data about the dynamic behavior of JavaScript [1]. I am currently 
wondering how easy it would be to replicate their setup using the latest 
WebKit release.

I noticed, in the latest release, that either the JIT or the Low-level 
Interpreter must be enabled for the build to succeed. Does that mean 
that the previous interpreter is not available anymore? If it is still 
available, is there a way to use only the old interpreter, without the 
JIT or the LLInt?

Also, I would like an opinion from one of the dev guy on how easy it 
would be to add instrumentation code for every bytecode in the new 
Low-level Interpreter, given that some part of it are now written in an 
assembler dialect.



[1] http://dl.acm.org/citation.cfm?id=1806598

More information about the webkit-dev mailing list