Bug 116763 - It should be possible to record and replay heap operations (both FastMalloc and JSC GC)
Summary: It should be possible to record and replay heap operations (both FastMalloc a...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
URL:
Keywords:
Depends on: 116848
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-25 11:32 PDT by Filip Pizlo
Modified: 2013-05-27 17:04 PDT (History)
7 users (show)

See Also:


Attachments
work in progress (54.48 KB, patch)
2013-05-25 11:33 PDT, Filip Pizlo
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2013-05-25 11:32:40 PDT
The point here is that if we do GC tests in jsc command-line, we're missing out on the base heap size that is experienced when you run in-browser.  One way to get correct measurements is to just run in browser or in DRT/WTR.  But another way would be to record the mallocs, frees, GC allocations, and GC marks that happened when running in browser (or in DRT or whatever) and then optionally replay them in jsc.
Comment 1 Filip Pizlo 2013-05-25 11:33:14 PDT
Created attachment 202890 [details]
work in progress

This patch does the recording.  But I still need to write the replaying.