Files
node/tools
Anna Henningsen d896f5befd src: make BuiltinLoader threadsafe and non-global
As discussed in https://github.com/nodejs/node/pull/45888, using a
global `BuiltinLoader` instance is probably undesirable in a world
in which embedders are able to create Node.js Environments with
different sources and therefore mutually incompatible code
caching properties.

This PR makes it so that `BuiltinLoader` is no longer a global
singleton and instead only shared between `Environment`s that
have a direct relation to each other, and addresses a few
thread safety issues along with that.

PR-URL: https://github.com/nodejs/node/pull/45942
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
2023-01-18 22:03:00 +00:00
..
2023-01-10 05:38:36 +00:00
2023-01-10 05:38:36 +00:00
2022-09-14 07:55:11 +00:00
2022-11-22 14:54:19 +00:00
2022-10-27 09:02:04 -04:00
2022-11-18 20:12:33 +00:00
2022-12-27 00:26:06 +00:00