1. 09 Jan, 2018 1 commit
  2. 22 Dec, 2017 1 commit
    • Yang Guo's avatar
      Reduce max instance type enum value. · c8736f68
      Yang Guo authored
      We collect instance type statistics in FatalProcessOutOfMemory into an
      array, which is allocated to the max instance type value. While we want
      to leave space to ensure new instance types do not affect constants in
      the API, we can be more frugal.
      
      We currently serialize 350 maps into the startup/context snapshot.  Even
      if we assign a distinct instance type to each of these maps, we would
      still have more than enough to spare with this change.
      
      R=ulan@chromium.org
      
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: I3e583c2c8da3342e9132d96046b5d80cd41afd72
      Reviewed-on: https://chromium-review.googlesource.com/842542
      Commit-Queue: Yang Guo <yangguo@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#50302}
      c8736f68
  3. 20 Dec, 2017 1 commit
  4. 13 Dec, 2017 1 commit
    • Alexei Filippov's avatar
      [cpu-profiler] Introduce NativeFrame type. · f514cc96
      Alexei Filippov authored
      The new frame type is inteneded to represent native C++ stack frames.
      JS code may sometimes make calls to helper native functions that do not
      provide any special stack layout besides the return address and frame pointer.
      
      Currently the stack iterator bails out when it sees an unknown frame.
      The patch allows the iterator to unwind stacks having such frames.
      
      BUG=chromium:768540
      
      Change-Id: I9c273c7015695a6733c0a0c52b522fca7b25de0d
      Reviewed-on: https://chromium-review.googlesource.com/794991
      Commit-Queue: Alexei Filippov <alph@chromium.org>
      Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#50058}
      f514cc96
  5. 06 Dec, 2017 1 commit
  6. 23 Nov, 2017 1 commit
  7. 22 Nov, 2017 1 commit
  8. 20 Nov, 2017 1 commit
  9. 19 Nov, 2017 2 commits
  10. 17 Nov, 2017 1 commit
  11. 10 Nov, 2017 2 commits
  12. 09 Nov, 2017 1 commit
    • Igor Sheludko's avatar
      Snapshot: support rehashing of standalone descriptors. · 03f4c091
      Igor Sheludko authored
      This is necessary in order to support class literals boilerplates which will
      contain descriptor arrays not attached to maps.
      
      This CL introduces Heap::descriptor_array_map() which will be used only for
      descriptor arrays templates created as a part of class literal boilerplate.
      
      We don't use the new map for all descriptors for now because in order to handle
      chicken-egg problem in deserializer which can be solved in a clean and readable
      way only if introduce a DESCRIPTOR_ARRAY_TYPE instance type which we can't
      currently do because the InstanceType enum is already "full".
      
      Bug: v8:5799
      Change-Id: I732d236b0dda2c436ab3ce3ac5967f6c66162df3
      Reviewed-on: https://chromium-review.googlesource.com/758360
      Commit-Queue: Igor Sheludko <ishell@chromium.org>
      Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#49271}
      03f4c091
  13. 07 Nov, 2017 2 commits
  14. 06 Nov, 2017 2 commits
  15. 25 Oct, 2017 3 commits
  16. 23 Oct, 2017 1 commit
  17. 28 Sep, 2017 1 commit
  18. 15 Sep, 2017 1 commit
  19. 11 Sep, 2017 1 commit
  20. 31 Aug, 2017 2 commits
  21. 30 Aug, 2017 1 commit
    • Benedikt Meurer's avatar
      [cleanup] Unify enum cache handling. · 562663d5
      Benedikt Meurer authored
      Introduce a proper empty_descriptor_array, which has the proper layout
      (length is 2 and the two fields are set properly). Also add a special
      EnumCache class and a matching empty_enum_cache. The contract now is
      that we only need to check the EnumLength on the map to know whether we
      are allowed to use the enum cache. This greatly simplifies the handling
      of the enum cache (and also the descriptor arrays), especially for the
      future work on optimizing keyed access via the enum cache indices.
      
      Bug: v8:6702
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: I5ef517a3041163cd65ef003f691139ea52233e83
      Reviewed-on: https://chromium-review.googlesource.com/641030
      Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
      Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
      Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47697}
      562663d5
  22. 28 Aug, 2017 1 commit
  23. 22 Aug, 2017 2 commits
  24. 09 Aug, 2017 2 commits
  25. 07 Aug, 2017 1 commit
    • Clemens Hammacher's avatar
      [wasm] [debug] Implement calling imported wasm functions · c39c6eba
      Clemens Hammacher authored
      The interpreter was not able to call imported wasm functions (hitting
      UNIMPLEMENTED). This CL fixes this by creating a "CWasmEntry", which is
      signature-specific. It has JS linkage and receives the wasm code object
      to call and a buffer containing all arguments (similar to the
      interpreter entry). It loads all arguments from the buffer and calls the
      given code object.
      The c-wasm-entry code objects are cached per instance, such that we
      only create them once per signature.
      
      These wasm entry stubs will also allow us to call back to compiled code
      from the interpreter, which we might want to do to reduce the slowdown
      of executing wasm for debugging.
      
      R=titzer@chromium.org
      
      Bug: chromium:735792
      Change-Id: I7fecec3a7bec62a9de40fff115b684759b12a28b
      Reviewed-on: https://chromium-review.googlesource.com/600308
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47195}
      c39c6eba
  26. 03 Aug, 2017 1 commit
  27. 27 Jul, 2017 3 commits
  28. 25 Jul, 2017 2 commits