Files
Keyhan Vakil 00dab30fd2 deps: V8: cherry-pick 475c8cdf9a95
Original commit message:

    [ptr-compr] Fix multi-cage mode

    This CL introduces PtrComprCageAccessScope which sets/restores current
    thread's pointer compression cage base values. It's supposed to be used
    by V8 jobs accessing V8 heap outside of v8::Isolate::Scope or
    i::LocalHeap or i::LocalIsolate scopes (they already ensure that the
    cage base values are properly initialized).
    For all other build modes PtrComprCageAccessScope is a no-op.

    For simplicity reasons the multi-cage mode is made incompatible with
    external code space.

    Bug: v8:13788, v8:14292
    Change-Id: I06c2d19a1eb7254fa7af07a17617e22d98abea9f
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4846592
    Reviewed-by: Jakob Linke <jgruber@chromium.org>
    Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Igor Sheludko <ishell@chromium.org>
    Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#90075}

Refs: https://github.com/v8/v8/commit/475c8cdf9a951bb06da3084794a0f659f8ef36c2
PR-URL: https://github.com/nodejs/node/pull/50680
Refs: https://bugs.chromium.org/p/v8/issues/detail?id=14292
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2023-11-29 09:46:33 -03:00
..
2023-10-10 08:25:41 +02:00
…
2022-10-11 07:24:33 +02:00
2023-10-10 08:25:41 +02:00
2023-10-10 08:25:41 +02:00
2023-10-10 08:25:41 +02:00
2022-10-11 07:24:33 +02:00
2023-10-10 08:25:41 +02:00
2022-11-27 17:27:13 +00:00
2021-08-30 21:02:51 +02:00
…
2023-10-10 08:25:41 +02:00
2023-03-31 14:15:23 +00:00
2023-10-10 08:25:41 +02:00
2023-03-31 14:15:23 +00:00
2023-03-31 14:15:23 +00:00
2023-10-10 08:25:41 +02:00
2022-10-11 07:24:33 +02:00
2023-10-10 08:25:41 +02:00
2023-10-10 08:25:41 +02:00
2023-10-10 08:25:41 +02:00
2023-10-10 08:25:41 +02:00
2023-10-10 08:25:41 +02:00
2023-10-10 08:25:41 +02:00
2023-10-10 08:25:41 +02:00
2022-11-27 17:27:13 +00:00
2022-10-11 07:24:33 +02:00
2023-10-10 08:25:41 +02:00
2022-10-11 07:24:33 +02:00
2022-10-11 07:24:33 +02:00
2023-03-31 14:15:23 +00:00
2021-08-30 21:02:51 +02:00
2022-10-11 07:24:33 +02:00
2023-03-31 14:15:23 +00:00
2023-10-10 08:25:41 +02:00
2023-10-10 08:25:41 +02:00
2023-03-31 14:15:23 +00:00
2021-02-25 00:14:47 +01:00
…
2022-04-21 11:54:15 +02:00
…
2022-10-11 07:24:33 +02:00
2022-10-11 07:24:33 +02:00
2022-04-21 11:54:15 +02:00
2022-10-11 07:24:33 +02:00
2022-02-02 17:23:18 +01:00
2021-06-10 11:10:13 +02:00
2023-10-10 08:25:41 +02:00
2022-10-11 07:24:33 +02:00
2022-04-21 11:54:15 +02:00
2023-10-10 08:25:41 +02:00
2023-10-10 08:25:41 +02:00
2022-10-11 07:24:33 +02:00
2022-10-11 07:24:33 +02:00
2023-03-31 14:15:23 +00:00
2022-10-11 07:24:33 +02:00
2022-10-11 07:24:33 +02:00
2022-01-20 10:38:37 +01:00
2021-08-30 21:02:51 +02:00
2023-10-10 08:25:41 +02:00
2023-10-10 08:25:41 +02:00
2023-03-31 14:15:23 +00:00
2021-02-11 19:09:18 +01:00
2023-10-10 08:25:41 +02:00
2021-08-30 21:02:51 +02:00
2023-10-10 08:25:41 +02:00
2022-10-11 07:24:33 +02:00
2022-04-21 11:54:15 +02:00
2023-10-10 08:25:41 +02:00
2022-10-11 07:24:33 +02:00
2022-04-12 22:08:39 +02:00
2022-10-11 07:24:33 +02:00
2023-10-10 08:25:41 +02:00
2023-10-10 08:25:41 +02:00
2023-10-10 08:25:41 +02:00
2023-03-31 14:15:23 +00:00
2021-02-25 00:14:47 +01:00

TOOLS

This directory contains debugging and investigation tools for V8.

The contents are regularly mirrored to http://v8.dev/tools.

Local Development

For local development you have to start a local webserver under http://localhost:8000:

  cd tools/;
  npm install;
  ws;

Local Symbol Server

The system-analyzer can symbolize profiles for local binaries by running a local symbol server

  cd tools/;
  ws --stack system-analyzer/lws-middleware.js lws-static cors;

Note that the local symbol server will run nm and objdump and has access to your files.