1. 16 Aug, 2021 1 commit
  2. 10 Aug, 2021 1 commit
  3. 09 Aug, 2021 1 commit
  4. 20 May, 2021 1 commit
  5. 10 Feb, 2021 1 commit
  6. 09 Feb, 2021 1 commit
  7. 20 Nov, 2020 1 commit
  8. 19 Nov, 2020 1 commit
    • Omer Katz's avatar
      cppgc: Add tracing scopes · 6a1a3a10
      Omer Katz authored
      This CL adds tracing scopes for the various cppgc classes.
      Scopes use TRACE_EVENT_BEGIN and TRACE_EVENT_END macros to report trace
      events. To do so they need to include trace-event.h. For unified heap
      builds, trace-event.h forwards to v8's src/tracing/trace-event.h. For
      other builds, trace-event.h provides a subset of
      src/tracing/trace-event.h that covers just the parts used by cppgc.
      
      This CL covers what we need for traces and blink gc metrics (up to
      renaming events from BlinkGC.* to CppGC.*). UMA and UKM are not yet
      handled.
      
      Bug: chromium:1056170
      Change-Id: Id92e84b27259ff0aadae7692f3d79d30896fb8e7
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2540548
      Commit-Queue: Omer Katz <omerkatz@chromium.org>
      Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#71284}
      6a1a3a10
  9. 19 Oct, 2020 1 commit
  10. 23 Jul, 2020 1 commit
  11. 08 Jun, 2020 1 commit
  12. 28 May, 2020 1 commit
    • Michael Lippautz's avatar
      cppgc: Rely on per-heap platform objects · 3d53d7ac
      Michael Lippautz authored
      Split platform into a process-global initialization part and per-heap
      platform objects.
      
      These platform objects still contain allocators and executors. With
      per-heap platforms GetForegroundTaskRunner() returns by definition the
      correct runner.
      
      In future, when initialized throuhg V8, an adapter can be used to
      translate between the different platforms, avoiding the needed for V8
      embedders to provide additional information.
      
      Bug: chromium:1056170
      Change-Id: I11bdd15e945687cfbdf38cae4137facb02559e0a
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2218030
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Commit-Queue: Anton Bikineev <bikineev@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Reviewed-by: 's avatarOmer Katz <omerkatz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#68059}
      3d53d7ac
  13. 26 May, 2020 3 commits
  14. 27 Apr, 2020 3 commits
  15. 21 Apr, 2020 1 commit
  16. 27 Mar, 2020 1 commit
  17. 24 Mar, 2020 1 commit
    • Michael Lippautz's avatar
      cppgc: Add GCInfo machinery · 4132d725
      Michael Lippautz authored
      GCInfo and its related infrastructure is used to record information
      about types. Currently, we store finalization and vtable information.
      Future changes will introduce naming and tracing, similar to Oilpan in
      Blink.
      
      Information is stored in a process-wide global table that is
      maintained at runtime. For static builds such information can be
      recorded in the binary without the runtime overhead which is future
      work.
      
      This ports `third_party/blink/renderer/platform/heap/gc_info.{h,cc}`
      on a semantic level. In addition to adjusting to V8's needs, we also
      re-commit the already filled parts of the info table as read-only when
      possible, making it harder to override type information.
      
      Bug: chromium:1056170
      Change-Id: Ib01eb24e6f8a94a4a647efde7af37689f8c20ba2
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2111214
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
      Reviewed-by: 's avatarOmer Katz <omerkatz@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#66847}
      4132d725