-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update from upstream #295
Update from upstream #295
Conversation
30a7ae0
to
b946ba1
Compare
This backports e41ccd4e2de6deb03e277fa9d6baff685ab31689.
This backports 978d89f5e3cf238a0e42303acc9493993ede9c98.
This backports 2a08925896872c345e2948778eab01e9853c22cb.
Some changes needed for v4.x support. This backports c1695d8bad09fc61922ec91101736debb2d165db.
open_callback_scopes of napi_env cannot be backported. This backports 9e226475e8e28b8664643d6644503ccd06bceb9a
This backports 1a5a19d6d475578eec355a8b3079b4a96fc77489.
b946ba1
to
d23bbc4
Compare
I assume this was needed as you were using a version of Node.js 6.x, 8.x, 10.x which was earlier than when N-API was backported to those lines? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Yeah, as long as there are supported versions of Node.js where we must build an out-of-tree copy of N-API, we should have these fixes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The following commits are backported: e41ccd4e2de6deb03e277fa9d6baff685ab31689 - performance fix 2a08925896872c345e2948778eab01e9853c22cb - performance fix follow-up 978d89f5e3cf238a0e42303acc9493993ede9c98 - make functions gc-able c1695d8bad09fc61922ec91101736debb2d165db - add napi_fatal_exception() 9e226475e8e28b8664643d6644503ccd06bceb9a - exception handling fix 1a5a19d6d475578eec355a8b3079b4a96fc77489 - crash fix PR-URL: #295 Reviewed-By: Nicola Del Gobbo <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Landed in 9816197. |
The following commits are backported: e41ccd4e2de6deb03e277fa9d6baff685ab31689 - performance fix 2a08925896872c345e2948778eab01e9853c22cb - performance fix follow-up 978d89f5e3cf238a0e42303acc9493993ede9c98 - make functions gc-able c1695d8bad09fc61922ec91101736debb2d165db - add napi_fatal_exception() 9e226475e8e28b8664643d6644503ccd06bceb9a - exception handling fix 1a5a19d6d475578eec355a8b3079b4a96fc77489 - crash fix PR-URL: nodejs/node-addon-api#295 Reviewed-By: Nicola Del Gobbo <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
The following commits are backported: e41ccd4e2de6deb03e277fa9d6baff685ab31689 - performance fix 2a08925896872c345e2948778eab01e9853c22cb - performance fix follow-up 978d89f5e3cf238a0e42303acc9493993ede9c98 - make functions gc-able c1695d8bad09fc61922ec91101736debb2d165db - add napi_fatal_exception() 9e226475e8e28b8664643d6644503ccd06bceb9a - exception handling fix 1a5a19d6d475578eec355a8b3079b4a96fc77489 - crash fix PR-URL: nodejs/node-addon-api#295 Reviewed-By: Nicola Del Gobbo <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
The following commits are backported: e41ccd4e2de6deb03e277fa9d6baff685ab31689 - performance fix 2a08925896872c345e2948778eab01e9853c22cb - performance fix follow-up 978d89f5e3cf238a0e42303acc9493993ede9c98 - make functions gc-able c1695d8bad09fc61922ec91101736debb2d165db - add napi_fatal_exception() 9e226475e8e28b8664643d6644503ccd06bceb9a - exception handling fix 1a5a19d6d475578eec355a8b3079b4a96fc77489 - crash fix PR-URL: nodejs/node-addon-api#295 Reviewed-By: Nicola Del Gobbo <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
The following commits are backported: e41ccd4e2de6deb03e277fa9d6baff685ab31689 - performance fix 2a08925896872c345e2948778eab01e9853c22cb - performance fix follow-up 978d89f5e3cf238a0e42303acc9493993ede9c98 - make functions gc-able c1695d8bad09fc61922ec91101736debb2d165db - add napi_fatal_exception() 9e226475e8e28b8664643d6644503ccd06bceb9a - exception handling fix 1a5a19d6d475578eec355a8b3079b4a96fc77489 - crash fix PR-URL: nodejs/node-addon-api#295 Reviewed-By: Nicola Del Gobbo <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Backport performance improvements, function instantiation, and exception propagation from upstream