FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

(7.x backport) NODE_OPTIONS, and one of its dependant refactors by sam-github · Pull Request #13063 · nodejs/node · GitHub

/ node Public

(7.x backport) NODE_OPTIONS, and one of its dependant refactors - #13063

Merged
sam-github merged 2 commits into
nodejs:v7.x-stagingfrom
sam-github:backport-12241-use-vector-for-preload-modules
May 19, 2017
Merged

(7.x backport) NODE_OPTIONS, and one of its dependant refactors#13063
sam-github merged 2 commits into
nodejs:v7.x-stagingfrom
sam-github:backport-12241-use-vector-for-preload-modules

Conversation

sam-github commented May 16, 2017
edited
Loading

Copy link
Copy Markdown
Contributor

Backport of #12241 to 7.x

Also rolled in #12648, because it depends on the use of std::vector.

A dynamically allocated array was being used, simplify the memory
management by using std::vector.

PR-URL: #12241
Reviewed-By: Richard Lau riclau@uk.ibm.com
Reviewed-By: James M Snell jasnell@gmail.com
Reviewed-By: Daniel Bevenius daniel.bevenius@gmail.com
Reviewed-By: Colin Ihrig cjihrig@gmail.com
Reviewed-By: Anna Henningsen anna@addaleax.net

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. v7.x labels May 16, 2017
sam-github changed the title src: use a std::vector for preload_modules (7.x backport) src: use a std::vector for preload_modules May 16, 2017

watilde commented May 16, 2017

Copy link
Copy Markdown
Member

A dynamically allocated array was being used, simplify the memory
management by using std::vector.

PR-URL: nodejs#12241
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
sam-github force-pushed the backport-12241-use-vector-for-preload-modules branch from 9a8f38e to 3ab322f Compare May 18, 2017 16:19
sam-github changed the title (7.x backport) src: use a std::vector for preload_modules (7.x backport) NODE_OPTIONS, and one of its dependant refactors May 18, 2017
Not all CLI options are supported, those that are problematic from a
security or implementation point of view are disallowed, as are ones
that are inappropriate (for example, -e, -p, --i), or that only make
sense when changed with code changes (such as options that change the
javascript syntax or add new APIs).

PR-URL: nodejs#12028
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
sam-github force-pushed the backport-12241-use-vector-for-preload-modules branch from 3ab322f to 3f6199c Compare May 18, 2017 16:30

Copy link
Copy Markdown
Contributor Author

Copy link
Copy Markdown
Contributor Author

@nodejs/release How do things land on v7.x-staging? Can I land this? Does someone from release?

Copy link
Copy Markdown
Contributor Author

Hm, @gibfahn points out that people seem to land themselves: https://github.com/nodejs/node/pulls?utf8=%E2%9C%93&q=is%3Apr%20is%3Aclosed%20base%3Av7.x-staging%20

So, I will.

sam-github merged commit 3f6199c into nodejs:v7.x-staging May 19, 2017
sam-github deleted the backport-12241-use-vector-for-preload-modules branch May 26, 2017 17:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL