1. 04 Mar, 2022 1 commit
    • Camillo Bruni's avatar
      [tools] Improve gcmole part II · ecc3cd25
      Camillo Bruni authored
      Prepare gcmole.cc for the next update:
      - Print possible GC locations when discovering stale/dead variables
      - Make error messages less confusing for the modern V8 engineer
      - Prepare gcmole to read suspects.allowlist instead of .whitelist
      - Use more readable variable names
      - Only log non-found types with --verbose
      - Change the currently unusued gccauses format in gcmole.py and
        support loading it back in gcmole.cc
      - Implemented first basic gc call-chain printing (disabled by default)
      
      GCmole packaging:
      - Add debug mode to bootstrap.sh build script
      - Update gcmole.py run instructions in bootstrap.sh and package.sh
      
      Bug: v8:10009
      Change-Id: I369d48baa2980455d2e8f57e7a803d0384fe83f1
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3480095Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
      Commit-Queue: Camillo Bruni <cbruni@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#79357}
      ecc3cd25
  2. 12 Jan, 2021 1 commit
    • Camillo Bruni's avatar
      [tools] Add DisableGCMole scope · d16a2a68
      Camillo Bruni authored
      Make sure gcmole detects issue in DisallowGarbageCollection scopes.
      
      DisallowGarbageCollection is widely used in the codebase to document
      code that doesn't allocate. However, this has the rather unexpected
      side-effect that gcmole is not run when such a scope is active.
      
      This CL changes the default behavior of gcmole to run even with
      DisallowGarbageCollection scopes present. This will give us the best
      results of both worlds, dynamic checks by the fuzzer, and static
      analysis by gcmole.
      
      To allow crazy local raw pointer operations there is a new
      DisableGCMole scope that explicitly disables gcmole.
      
      Change-Id: I0a78fb3b4ceaad35be9bcf7293d917a41f90c91f
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2615419Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
      Commit-Queue: Camillo Bruni <cbruni@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#72039}
      d16a2a68
  3. 26 Nov, 2019 1 commit
  4. 29 Aug, 2019 1 commit
  5. 14 Mar, 2019 1 commit
  6. 08 Mar, 2019 1 commit
  7. 07 Mar, 2019 1 commit
  8. 23 Apr, 2013 1 commit
  9. 07 Apr, 2011 1 commit