JS Engine Interpreter

2015-02-10 Thread Erdal Mutlu
Hi, I have been instrumenting the JS engine interpreter for logging memory updates on JS scripts. My current instrumentation logs every use of the interpreter for script execution which also includes browser (internal) script execution. I wanted to ask if there is a way to separate these intern

Extracting Event Information from nsRunnable

2014-12-18 Thread Erdal Mutlu
Hi, I am trying to get access to event details (type, target etc.) of runnables scheduled at nsThread::ProcessNextEvent. I am not sure but it seems like QueryInterface function can be used but I am having difficulty using it. So basically I am trying to check if the event runnable to be schedul

Re: Analyzing Asynchronous Callbacks

2014-12-14 Thread Erdal Mutlu
Hey, I am only interested in user-defined callbacks on a web page like button clicks, XHR callbacks and setTimeout/Interval callbacks. Erdal ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Analyzing Asynchronous Callbacks

2014-12-12 Thread Erdal Mutlu
Hi all, I am currently working on races that can happen across asynchronous event callbacks. I started investigating the Mozilla source code hoping that I can find a concrete event loop and queue implementation as discussed in https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/EventL