• loislo@chromium.org's avatar
    CPUProfiler: Improve line numbers support in profiler. · 5571dc42
    loislo@chromium.org authored
    1) report line number even if a script has no resource_name (evals);
      a) do that for already compiled functions in log.cc;
      b) do that for fresh evals in compiler.cc;
    
    2) Implement the test for LineNumbers and make it fast and stable, otherwise we have to wait for tick samples;
      a) move processor_->Join() call into new Processor::StopSynchronously method;
      b) Process all the CodeEvents even if we are stopping Processor thread;
      c) make getters for generator and processor;
    
    3) Fix the test for Jit that didn't expect line numbers;
    
    4) Minor refactoring:
      a) in ProcessTicks;
      b) rename enqueue_order_ to last_code_event_id_ for better readability;
      c) rename dequeue_order_ to last_processed_code_event_id_ and make it a member for better readability;
    
    BUG=
    TEST=test-profile-generator/LineNumber
    R=jkummerow@chromium.org, yurys@chromium.org
    
    Review URL: https://codereview.chromium.org/18058008
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15530 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    5571dc42
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
preparser Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...