• mlippautz's avatar
    [heap] Integrate embedder heap tracer into incremental marking · 998c9285
    mlippautz authored
    - Respect a deadline when processing wrappers during incremental marking, i.e.,
      don't force completetion on each individual step
    - Only finalize when both, the internal marking deque and wrappers, are
      processed
    
    Some results (twitter using --enable-blink-features=TraceWrappables)
    
    === BEFORE ===
    incremental_wrapper_tracing_longest_step
      len: 13
      min: 0.0
      ---> max: 6.6
      ---> avg: 3.83846153846
      [0,5[: 7
      [5,10[: 6
    mark.wrapper_tracing
      len: 13
      min: 0.0
      max: 2.0 (non-incremental MC)
      avg: 0.153846153846
      [0,5[: 13
    
    === AFTER ===
    incremental_wrapper_tracing_longest_step
      len: 8
      min: 0.0
      ---> max: 1.1
      ---> avg: 0.8875
      [0,5[: 8
    mark.wrapper_tracing (not excluding non-incremental MC)
      len: 8
      min: 0.0
      max: 2.5 (non-incremental MC)
      avg: 0.3125
      [0,5[: 8
    
    BUG=chromium:468240
    R=ulan@chromium.org
    
    Review-Url: https://codereview.chromium.org/2287343002
    Cr-Commit-Position: refs/heads/master@{#39041}
    998c9285
mark-compact.h 25.1 KB