[webkit-dev] Instrumenting JavaScriptCore

2012-11-12 Thread Erick Lavoie
Hi, 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

Re: [webkit-dev] Instrumenting JavaScriptCore

2012-11-12 Thread Mark Lam
Erick, If your instrumentation is not performance critical, you might be interested in using the llint C++ backend. To use that: 1. in WTF/wtf/Platform.h (or equivalent), #define ENABLE_JIT 0, and #define ENABLE_LLINT 1. This will allow you to build for the C++ llint which generates C++ code

Re: [webkit-dev] Instrumenting JavaScriptCore

2012-11-12 Thread Filip Pizlo
On Nov 12, 2012, at 7:55 PM, Erick Lavoie wrote: > Hi, > > 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. > >