Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vm: add experimental NodeRealm implementation #47855

Closed
wants to merge 30 commits into from

Commits on May 4, 2023

  1. vm: add experimental LocalWorker implementation

    A LocalWorker is a Node.js environemnt that runs within the same thread.
    This feature is added behind a `--experimental-localworker` flag.
    
    This work is based on The synchronous-worker module as originally
    written by Anna Henningsen and is incorporated here with
    Anna's permission.
    
    Signed-off-by: Matteo Collina <[email protected]>
    Co-Authored-By: James M Snell <[email protected]>
    mcollina and jasnell committed May 4, 2023
    Configuration menu
    Copy the full SHA
    5aebfda View commit details
    Browse the repository at this point in the history
  2. fixup

    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed May 4, 2023
    Configuration menu
    Copy the full SHA
    a624c7e View commit details
    Browse the repository at this point in the history
  3. fixup

    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed May 4, 2023
    Configuration menu
    Copy the full SHA
    b04d52c View commit details
    Browse the repository at this point in the history
  4. fixup

    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed May 4, 2023
    Configuration menu
    Copy the full SHA
    156fad5 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2023

  1. Update doc/api/vm.md

    Co-authored-by: James M Snell <[email protected]>
    mcollina and jasnell authored May 5, 2023
    Configuration menu
    Copy the full SHA
    8ff9d0a View commit details
    Browse the repository at this point in the history
  2. Update src/node_contextify.cc

    Co-authored-by: James M Snell <[email protected]>
    mcollina and jasnell authored May 5, 2023
    Configuration menu
    Copy the full SHA
    1050cb2 View commit details
    Browse the repository at this point in the history
  3. Update doc/api/vm.md

    Co-authored-by: Geoffrey Booth <[email protected]>
    mcollina and GeoffreyBooth authored May 5, 2023
    Configuration menu
    Copy the full SHA
    1b5978b View commit details
    Browse the repository at this point in the history
  4. fixup

    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed May 5, 2023
    Configuration menu
    Copy the full SHA
    4211750 View commit details
    Browse the repository at this point in the history
  5. Update test/parallel/test-localworker.js

    Co-authored-by: Moshe Atlow <[email protected]>
    mcollina and MoLow authored May 5, 2023
    Configuration menu
    Copy the full SHA
    8929ecd View commit details
    Browse the repository at this point in the history
  6. fixup

    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed May 5, 2023
    Configuration menu
    Copy the full SHA
    7f56539 View commit details
    Browse the repository at this point in the history
  7. add test aboug globalThis

    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed May 5, 2023
    Configuration menu
    Copy the full SHA
    db8bf72 View commit details
    Browse the repository at this point in the history
  8. fix linting

    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed May 5, 2023
    Configuration menu
    Copy the full SHA
    62e534b View commit details
    Browse the repository at this point in the history
  9. renamed to NodeRealm

    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed May 5, 2023
    Configuration menu
    Copy the full SHA
    bb0a04a View commit details
    Browse the repository at this point in the history

Commits on May 8, 2023

  1. Avoid the file trick for loading ESM

    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed May 8, 2023
    Configuration menu
    Copy the full SHA
    75618e6 View commit details
    Browse the repository at this point in the history
  2. fixup

    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed May 8, 2023
    Configuration menu
    Copy the full SHA
    1b8059f View commit details
    Browse the repository at this point in the history
  3. Update doc/api/vm.md

    Co-authored-by: Antoine du Hamel <[email protected]>
    mcollina and aduh95 authored May 8, 2023
    Configuration menu
    Copy the full SHA
    6184855 View commit details
    Browse the repository at this point in the history
  4. Update doc/api/vm.md

    Co-authored-by: Antoine du Hamel <[email protected]>
    mcollina and aduh95 authored May 8, 2023
    Configuration menu
    Copy the full SHA
    0ffaba0 View commit details
    Browse the repository at this point in the history
  5. Update doc/api/vm.md

    Co-authored-by: Antoine du Hamel <[email protected]>
    mcollina and aduh95 authored May 8, 2023
    Configuration menu
    Copy the full SHA
    aa46778 View commit details
    Browse the repository at this point in the history
  6. Update lib/vm.js

    Co-authored-by: Shrujal Shah <[email protected]>
    mcollina and shrujalshah28 authored May 8, 2023
    Configuration menu
    Copy the full SHA
    c3f4321 View commit details
    Browse the repository at this point in the history
  7. Update lib/internal/vm/noderealm.js

    Co-authored-by: Moshe Atlow <[email protected]>
    mcollina and MoLow authored May 8, 2023
    Configuration menu
    Copy the full SHA
    39e58b3 View commit details
    Browse the repository at this point in the history
  8. Update doc/api/vm.md

    Co-authored-by: Antoine du Hamel <[email protected]>
    mcollina and aduh95 authored May 8, 2023
    Configuration menu
    Copy the full SHA
    8474e51 View commit details
    Browse the repository at this point in the history
  9. Apply suggestions from code review

    Co-authored-by: Antoine du Hamel <[email protected]>
    Co-authored-by: Moshe Atlow <[email protected]>
    Co-authored-by: cjihrig <[email protected]>
    4 people authored May 8, 2023
    Configuration menu
    Copy the full SHA
    8240d61 View commit details
    Browse the repository at this point in the history
  10. fixup

    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed May 8, 2023
    Configuration menu
    Copy the full SHA
    f371400 View commit details
    Browse the repository at this point in the history
  11. fixup

    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed May 8, 2023
    Configuration menu
    Copy the full SHA
    9f1d1a5 View commit details
    Browse the repository at this point in the history
  12. Update doc/api/vm.md

    Co-authored-by: Geoffrey Booth <[email protected]>
    mcollina and GeoffreyBooth authored May 8, 2023
    Configuration menu
    Copy the full SHA
    57409e6 View commit details
    Browse the repository at this point in the history
  13. Address review comments

    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed May 8, 2023
    Configuration menu
    Copy the full SHA
    db0c89b View commit details
    Browse the repository at this point in the history
  14. fixup

    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed May 8, 2023
    Configuration menu
    Copy the full SHA
    3988738 View commit details
    Browse the repository at this point in the history
  15. fixup

    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed May 8, 2023
    Configuration menu
    Copy the full SHA
    db395ac View commit details
    Browse the repository at this point in the history
  16. fixup

    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed May 8, 2023
    Configuration menu
    Copy the full SHA
    7ba9bbd View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

  1. Apply suggestions from code review

    Co-authored-by: Geoffrey Booth <[email protected]>
    Co-authored-by: Chengzhong Wu <[email protected]>
    Co-authored-by: Antoine du Hamel <[email protected]>
    Co-authored-by: James M Snell <[email protected]>
    5 people authored May 12, 2023
    Configuration menu
    Copy the full SHA
    4209518 View commit details
    Browse the repository at this point in the history