[Webkit-unassigned] [Bug 66724] New: Sampling counter support is in the bytecode directory

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 22 15:11:22 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=66724

           Summary: Sampling counter support is in the bytecode directory
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: fpizlo at apple.com


Sampling counters are a useful way of doing light-weight profiling in JSC.  For historical reasons, the SamplingCounter classes are in bytecode/SamplingTool.h, even though the SamplingCounter classes have nothing to do with bytecode.  Furthermore, the SamplingTool.h file includes quite a large chunk of the runtime, so attempting to include it in core runtime headers would lead to potentially bad circularity.

This can be solved by moving SamplingCounter into its own header, which lives in runtime and has few dependencies.

-- 
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