Files
node/src
Anna Henningsen e1df6881c5 src: do not cache NumberOfHeapSpaces() globally
While `NumberOfHeapSpaces()` currently returns a constant value,
that is not strictly guaranteed by the V8 API as far as I can tell.
Therefore, caching it globally does not seem appropriate.

(The motivation here is that this squelches warnings which are
produced by concurrency debugging tooling due to the apparent
race conditions when accessing the global variable.)

PR-URL: https://github.com/nodejs/node/pull/20971
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-06-01 11:22:31 +02:00
..
2017-11-27 07:21:08 +01:00
2018-05-26 12:29:12 +02:00
2018-05-10 14:15:16 +02:00
2018-05-20 14:15:56 -07:00
2017-09-14 17:38:38 +02:00
2017-09-14 17:38:38 +02:00
2017-12-01 07:45:00 +01:00
2018-04-03 13:57:41 -07:00
…
2018-05-24 08:49:23 -07:00
2018-04-25 12:22:47 -03:00
2018-05-10 14:15:16 +02:00
2018-05-30 05:19:13 +02:00
2018-05-10 14:15:16 +02:00
2018-05-30 05:19:13 +02:00
2018-05-31 09:54:48 +02:00
2018-06-01 09:59:50 +02:00