Bug 7072 - Update JavaScriptCore, WebCore and WebKit code for JS GC statistics
Summary: Update JavaScriptCore, WebCore and WebKit code for JS GC statistics
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Maciej Stachowiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-04 14:58 PST by Maciej Stachowiak
Modified: 2006-02-04 16:18 PST (History)
0 users

See Also:


Attachments
make JS statistics code portable (10.83 KB, patch)
2006-02-04 15:10 PST, Maciej Stachowiak
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Stachowiak 2006-02-04 14:58:55 PST
I improved a couple of things in the code to get JavaScript garbage collector statistics via WebKit SPI:

1) I changed the code to use HashCountedSet instead of CFSet at the low levels.
2) I updated the SPI and internal method names to better reflect how the collector works these days (but old SPI is left for compatibility)
Comment 1 Maciej Stachowiak 2006-02-04 15:10:22 PST
Created attachment 6253 [details]
make JS statistics code portable
Comment 2 Darin Adler 2006-02-04 16:06:00 PST
Comment on attachment 6253 [details]
make JS statistics code portable

javaScriptRootObjecTypeCounts is missing a "t"

Otherwise, r=me.
Comment 3 Darin Adler 2006-02-04 16:18:30 PST
Maciej landed this earlier (with the typo!).