diff options
Diffstat (limited to 'src/env.h')
-rw-r--r-- | src/env.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -765,6 +765,12 @@ class Environment { std::unique_ptr<inspector::Agent> inspector_agent_; #endif + // handle_wrap_queue_ and req_wrap_queue_ needs to be at a fixed offset from + // the start of the class because it is used by + // src/node_postmortem_metadata.cc to calculate offsets and generate debug + // symbols for Environment, which assumes that the position of members in + // memory are predictable. For more information please refer to + // `doc/guides/node-postmortem-support.md` HandleWrapQueue handle_wrap_queue_; ReqWrapQueue req_wrap_queue_; ListHead<HandleCleanup, |