Uh oh!
There was an error while loading. Please reload this page.
src: use unrefed async for GC tracking - #16758
Conversation
refack
commented
Nov 4, 2017
IMHO the Alternative resolution: auto observers = env->performance_state()->observers;
if (observers == nullptr || arraysize(observers) = 0) return; |
refack
commented
Nov 4, 2017
wait... they won't. So this becomes a little delicate. |
jasnell
commented
Nov 5, 2017
Niiiiice. |
jasnell
commented
Nov 5, 2017
PerformanceObservers are passive. They won't keep anything open. |
On |
jasnell
commented
Nov 5, 2017
Make the 'setImmediate' in that test a 'setInterval' I think. |
There was a problem hiding this comment.
hmmm, some how this is not enough for a gc hook..
EDIT: let's go with #16758 (comment) ?
refack
commented
Nov 5, 2017
All Windows fail (if it was just VS2015 I'd plotz) |
joyeecheung
commented
Nov 5, 2017
During the initial investigation I think this only reproduced on vs2015/vcbt2015 builds? Or we might just missed other 2017 builds at that time. Curious what's differed about those builds... |
addaleax
commented
Nov 5, 2017
╯°□°)╯︵ ┻━┻
As much as I hate to say it … isn’t that just masking a problem instead of taking the time to understand what’s going on? 😞 At least this seems to be failing consistently, yay for that. |
refack
commented
Nov 5, 2017
I think the issue was computer related more then compiler related. But we do have a different flake that happens only on VS2017 - #15558 |
addaleax
commented
Nov 10, 2017
Okay, picking up work on this again… |
Do not let an internal handle keep the event loop alive. Fixes: nodejs#16210
addaleax
commented
Nov 11, 2017
Looks like using 2 nested Jenkins is hanging, otherwise I’d start CI, this should be ready… |
refack
commented
Nov 11, 2017
addaleax
commented
Nov 11, 2017
@refack Sorry, didn’t see that! 😄 But probably a good idea to make sure nothing’s flaky :) |
addaleax
commented
Nov 11, 2017
Okay, CI seems good - feel free to land this,otherwise I'll do that tomorrow |
refack
commented
Nov 11, 2017
Do not let an internal handle keep the event loop alive. PR-URL: #16758 Fixes: https://github.com/node/issues/16210 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
This effectively reverts 5c475a7 and 75095d7. PR-URL: #16758 Fixes: https://github.com/node/issues/16210 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Do not let an internal handle keep the event loop alive. PR-URL: #16758 Fixes: https://github.com/node/issues/16210 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
This effectively reverts 5c475a7 and 75095d7. PR-URL: #16758 Fixes: https://github.com/node/issues/16210 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
MylesBorins
commented
Nov 17, 2017
I've backported this to v8.x Please lmk if you think it should bake longer |
Do not let an internal handle keep the event loop alive. PR-URL: #16758 Fixes: https://github.com/node/issues/16210 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
This effectively reverts 5c475a7 and 75095d7. PR-URL: #16758 Fixes: https://github.com/node/issues/16210 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Do not let an internal handle keep the event loop alive.
I think this patch is okay since GC isn’t deterministic anyway.
Fixes: #16210
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
src
@Trott@refack@jasnell