1. 01 Oct, 2020 1 commit
  2. 03 Sep, 2020 1 commit
  3. 12 Aug, 2020 1 commit
  4. 05 May, 2020 1 commit
  5. 06 Feb, 2020 1 commit
    • Ulan Degenbaev's avatar
      [ptr-compr, heap] Use system pointer size for heap limit computation · 8732596c
      Ulan Degenbaev authored
      A pointer-compressed heap has the same heap limit heuristics as a 32-bit
      heap. Specifically, the heap limit is restricted to 1GB due to scarce
      virtual addresses space on 32-bit platforms. That limitation does not
      apply for pointer-compressed heaps which can use 4GB.
      
      This CL changes the heap limit computation to use system the pointer
      size instead of the tagged pointer size. Note that the young generation
      limit continues to use the tagged pointer size.
      
      Bug: chromium:1045034
      Change-Id: I9d5bb818c32a82322476e9c97feee331400ebe0f
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2042102Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
      Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#66159}
      8732596c
  6. 07 Oct, 2019 1 commit
  7. 06 Jun, 2019 1 commit
  8. 31 May, 2019 1 commit
  9. 23 May, 2019 2 commits
  10. 29 Mar, 2019 1 commit
  11. 05 Mar, 2019 1 commit
  12. 15 Feb, 2019 1 commit
  13. 22 Nov, 2018 1 commit
  14. 30 Oct, 2018 1 commit
  15. 26 Oct, 2018 1 commit
  16. 06 Sep, 2018 1 commit
  17. 07 Jun, 2018 1 commit
  18. 15 Dec, 2017 1 commit
    • Bill Budge's avatar
      [Memory] Create memory management API in v8::internal. · a449f09f
      Bill Budge authored
      - Creates a memory management API in v8::internal, which corresponds
        to the existing one in base::OS.
      - Implements the new API in terms of the old one.
      - Changes all usage of the base::OS API to the one in v8::internal. This
        includes all tests, except platform and OS tests.
      - Makes OS:: methods private.
      - Moves all LSAN calls into the v8::internal functions.
      
      Bug: chromium:756050
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: Iaa3f022e3e12fdebf937f3c76b6c6455014beb8a
      Reviewed-on: https://chromium-review.googlesource.com/794856
      Commit-Queue: Bill Budge <bbudge@chromium.org>
      Reviewed-by: 's avatarEric Holk <eholk@chromium.org>
      Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#50139}
      a449f09f
  19. 18 Oct, 2017 1 commit
  20. 22 Sep, 2017 1 commit
  21. 09 Aug, 2017 1 commit
  22. 31 Jul, 2017 1 commit
  23. 28 Jul, 2017 1 commit
    • Ulan Degenbaev's avatar
      Revert "[heap] Reland "[heap] Allow a minimum semi-space size of 512K."" · 774a4c5e
      Ulan Degenbaev authored
      This reverts commit 176a2b24.
      
      Reason for revert: performance regression on the benchmarks.
      
      Original change's description:
      > [heap] Reland "[heap] Allow a minimum semi-space size of 512K."
      > 
      > This patch changes the semi-space size to 512K.
      > 
      > > Original commit message:
      > > Revert "[heap] Allow a minimum semi-space size of 512K."
      > > This reverts commit 0d2ed6c3.
      > > The CL introduced perf regressions: crbug.com/735649.
      > > We are going to reland the CL in an isolated V8 roll to ensure
      > > that perf regressions are attributed correctly.
      > 
      > > Original commit message:
      > > > [heap] Allow a minimum semi-space size of 512K.
      > > > This CL also reduces the minimum semi-space size to 512K.
      > > > BUG=chromium:716032
      > > BUG=chromium:735649
      > 
      > Change-Id: Iabc377cba2911b28d51b98bb5b85134d4e893632
      > Reviewed-on: https://chromium-review.googlesource.com/575066
      > Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
      > Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#46763}
      
      TBR=ulan@chromium.org,mlippautz@chromium.org
      
      # Not skipping CQ checks because original CL landed > 1 day ago.
      
      Change-Id: I80f8b6699f41e91512f7cec38060c829252ff95e
      Reviewed-on: https://chromium-review.googlesource.com/591309Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46982}
      774a4c5e
  24. 19 Jul, 2017 2 commits
    • Ulan Degenbaev's avatar
      [heap] Reland "[heap] Allow a minimum semi-space size of 512K." · 176a2b24
      Ulan Degenbaev authored
      This patch changes the semi-space size to 512K.
      
      > Original commit message:
      > Revert "[heap] Allow a minimum semi-space size of 512K."
      > This reverts commit 0d2ed6c3.
      > The CL introduced perf regressions: crbug.com/735649.
      > We are going to reland the CL in an isolated V8 roll to ensure
      > that perf regressions are attributed correctly.
      
      > Original commit message:
      > > [heap] Allow a minimum semi-space size of 512K.
      > > This CL also reduces the minimum semi-space size to 512K.
      > > BUG=chromium:716032
      > BUG=chromium:735649
      
      Change-Id: Iabc377cba2911b28d51b98bb5b85134d4e893632
      Reviewed-on: https://chromium-review.googlesource.com/575066Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46763}
      176a2b24
    • Ulan Degenbaev's avatar
      [heap] Add API to set heap semi-space limits in KB. · bb29f9a4
      Ulan Degenbaev authored
      This relands parts of "[heap] Allow a minimum semi-space size of 512K."
      excluding the actual semi-space size change.
      
      This partially reverts commit f341bb0f
      
      > Original commit message:
      > Revert "[heap] Allow a minimum semi-space size of 512K."
      > This reverts commit 0d2ed6c3.
      > The CL introduced perf regressions: crbug.com/735649.
      > We are going to reland the CL in an isolated V8 roll to ensure
      > that perf regressions are attributed correctly.
      
      > Original commit message:
      > > [heap] Allow a minimum semi-space size of 512K.
      > > This CL also reduces the minimum semi-space size to 512K.
      > > BUG=chromium:716032
      > BUG=chromium:735649
      
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: I5ed66b72104aa877d67fcd20bdadc807ea1551c3
      Reviewed-on: https://chromium-review.googlesource.com/575065
      Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
      Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46762}
      bb29f9a4
  25. 14 Jul, 2017 1 commit
    • Ulan Degenbaev's avatar
      [heap] Rework ASLR for base::Platform::VirtualMemory · 0640cbf3
      Ulan Degenbaev authored
      Currently every VirtualMemory allocation on 64-bit systems
      uses a random 46-bit address hint for ASLR.
      
      This leads to wired page leak on MacOS discovered by Erik Chen (see
      crbug.com/700928 and https://chromium-review.googlesource.com/c/557958/):
      "The Darwin kernel [as of macOS 10.12.5] does not clean up page directory
      entries [PDE] created from mmap or mach_vm_allocate, even after
      the region is destroyed. Using a virtual address space that is too large
      causes a leak of about 1 wired [can never be paged out] page per call to
      mmap(). The page is only reclaimed when the process is killed."
      
      This patch changes VirtualMemory to accept the hint parameter explicitly.
      
      On MacOS the hints are confined to 4GB contiguous region. Algorithm:
      - On startup, set heap.mmap_region_base_ to a random address.
      - For each mmap use heap.mmap_region_base_ + (random_offset % (4*GB)).
      
      BUG=chromium:700928
      
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: I2ae6a024e02fbe63f940105d7920b57c19abacc6
      Reviewed-on: https://chromium-review.googlesource.com/558876
      Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
      Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46656}
      0640cbf3
  26. 30 Jun, 2017 1 commit
    • Ulan Degenbaev's avatar
      Revert "[heap] Allow a minimum semi-space size of 512K." · f341bb0f
      Ulan Degenbaev authored
      This reverts commit 0d2ed6c3.
      
      The CL introduced perf regressions: crbug.com/735649.
      
      We are going to reland the CL in an isolated V8 roll to ensure
      that perf regressions are attributed correctly.
      
      Original commit message:
      > [heap] Allow a minimum semi-space size of 512K.
      > This CL also reduces the minimum semi-space size to 512K.
      > BUG=chromium:716032
      
      BUG=chromium:735649
      
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: I1f1b08ca6853347c00070f000c309d839ff8a4bb
      Reviewed-on: https://chromium-review.googlesource.com/552541Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46349}
      f341bb0f
  27. 19 Jun, 2017 1 commit
  28. 12 Jun, 2017 1 commit
  29. 23 May, 2017 1 commit
  30. 19 Dec, 2016 1 commit
    • cbruni's avatar
      Add unittests to keep InstanceType lists in sync · c0282f60
      cbruni authored
      STRUCT_LIST and INSTANCE_TYPE_LIST are now forced to have the same order
      as the InstanceType enum.
      
      Drive-by-fix 1: Move type check and cast functions closer together in objects-inl.h
      
      Drive-by-fix 2: Remove unused instance types SIGNATURE_INFO_TYPE and  TYPE_SWITCH_INFO_TYPE.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2578573002
      Cr-Commit-Position: refs/heads/master@{#41804}
      c0282f60
  31. 15 Jun, 2015 1 commit