• mikhail.naganov@gmail.com's avatar
    Fix issue 571: display descriptive names for code objects from snapshot. · 37d39724
    mikhail.naganov@gmail.com authored
    As this is only needed for internal profiling (not for DevTools),
    the following approach had been chosen:
    
     - during snapshot creation, positions of serialized objects inside
       a snapshot are logged;
    
     - then during V8 initialization, positions of deserealized objects
       are logged;
    
     - those positions are used for retrieving code objects names from
       snapshot creation log, which needs to be supplied to tick processor
       script.
    
    Positions logging is controlled with the new flag: --log_snapshot_positions.
    This flag is turned off by default, and this adds no startup penalty.
    
    To plug this fix to Golem, the following actions are needed:
    
     - logs created using 'mksnapshot' need to be stored along with VM images;
    
     - tick processor script needs to be run with '--snapshot-log=...' cmdline
       argument.
    
    BUG=571
    
    Review URL: http://codereview.chromium.org/551062
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3635 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    37d39724
Name
Last commit
Last update
..
gyp Loading commit data...
oprofile Loading commit data...
v8.xcodeproj Loading commit data...
visual_studio Loading commit data...
codemap.js Loading commit data...
consarray.js Loading commit data...
csvparser.js Loading commit data...
js2c.py Loading commit data...
jsmin.py Loading commit data...
linux-tick-processor Loading commit data...
linux-tick-processor.py Loading commit data...
logreader.js Loading commit data...
mac-nm Loading commit data...
mac-tick-processor Loading commit data...
presubmit.py Loading commit data...
process-heap-prof.py Loading commit data...
profile.js Loading commit data...
profile_view.js Loading commit data...
run-valgrind.py Loading commit data...
splaytree.js Loading commit data...
splaytree.py Loading commit data...
stats-viewer.py Loading commit data...
test.py Loading commit data...
tickprocessor-driver.js Loading commit data...
tickprocessor.js Loading commit data...
tickprocessor.py Loading commit data...
utils.py Loading commit data...
windows-tick-processor.bat Loading commit data...
windows-tick-processor.py Loading commit data...