WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
87017
Web Inspector: [JSC] JavaScript profile stops recording on page load
https://bugs.webkit.org/show_bug.cgi?id=87017
Summary
Web Inspector: [JSC] JavaScript profile stops recording on page load
Adam Roben (:aroben)
Reported
2012-05-21 07:01:04 PDT
To reproduce: 1. Start a JavaScript profile 2. Reload the page The profile stops recording and disappears. This only happens in Safari, not Chrome. This makes it pretty much impossible to profile page loads.
Attachments
Add attachment
proposed patch, testcase, etc.
Adam Roben (:aroben)
Comment 1
2012-05-21 07:04:08 PDT
There is some JSC-specific code in InspectorProfilerAgent to reset profiles on page load. But just removing that code isn't enough to fix the bug. It looks like JSC::ProfileGenerator is a per-JSGlobalObject object, so gets destroyed and recreated on every page load.
Adam Roben (:aroben)
Comment 2
2012-05-21 07:30:33 PDT
All the profile code in JSC stores ExecStates all over the place. Seems like we'd either need to keep those alive as long as the profile is alive, or make it so we don't have to store them at all.
Brian Burg
Comment 3
2014-12-12 14:37:14 PST
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests. Please file a new bug (
https://www.webkit.org/new-inspector-bug
) if the bug/feature/issue is still relevant to WebKit trunk.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug