Skip to content

perf_hooks: make GC tracking state per-Environment

Rodrigo Muino Tomonari requested to merge github/fork/addaleax/perf-per-env into master

Otherwise this is global state that may be subject to race conditions e.g. when running perf_hooks inside of Worker threads.

Tracking the GC type is removed entirely since the variable was unused.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading