[Webkit-unassigned] [Bug 135305] New: CodeCache should not cache when the WebInspector is open
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 25 14:41:09 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=135305
Summary: CodeCache should not cache when the WebInspector is
open
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: sbarati at apple.com
CC: fpizlo at apple.com
The WebInspector often uses source code IDs to identify unique scripts. If CodeCache is turned on, it may determine two scripts are the same because their text contents are the same, when indeed the two scripts come from discreet websites, and when the cache returns a CodeBlock, it doesn't change it's originating source ID. This has an especially perverse effect when high fidelity type profiling is enabled because the type profiler uses source code IDs in JavaScriptCore to correlate the unique identity of scripts with the WebInspector. This also has another perverse effect that when type profiling is enabled then disabled: JavaScriptCore recompiles all scripts because type profiling is only enabled in the LLInt. If type profiling is enabled then disabled, and the CodeCache successfully caches a script that had this profiling enabled, but type profiling is currently disabled, it will try to tier up a CodeBlock to the baseline JIT that contains the opcodes for type profiling, and this
--
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