Uh oh!
There was an error while loading. Please reload this page.
Upgrade to V8 4.8 in master - #4785
Conversation
Pick up V8 4.8 branch-head. This branch brings in @@isConcatSpreadable, @@toPrimitive and ToLength ES6 changes. For full details see: http://v8project.blogspot.de/2015/11/v8-release-48.htmlv8/v8@fa163e2 Ref: nodejs#4399
Original commit message: This commit adds some postmortem data that is otherwise unavailable. I have discovered need in those values when writing: https://github.com/indutny/llnode BUG= Review URL: https://codereview.chromium.org/1436473002 Cr-Commit-Position: refs/heads/master@{nodejs#31947} This postmortem information is useful for both object inspection, and function's context variables inspection. Ref: nodejs#3779 PR-URL: nodejs#4106 Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com> Reviewed-By: rvagg - Rod Vagg <rod@vagg.org>
Original commit message: [tools] Make gen-postmortem-metadata.py more reliable Instead of basing matches off of whitespace, walk the inheritance chain and include any classes that inherit from Object. R=machenbach@chromium.org,jkummerow@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/1435643002 Cr-Commit-Position: refs/heads/master@{nodejs#31964} This adds some missing classes to postmortem info like JSMap and JSSet. Ref: nodejs#3792 PR-URL: nodejs#4106 Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com> Reviewed-By: rvagg - Rod Vagg <rod@vagg.org>
The error message returned on ArrayBuffer allocation failure is now different as per https://codereview.chromium.org/1393263003. Ref: nodejs#4399
trevnorris
commented
Jan 20, 2016
Seems |
cjihrig
commented
Jan 21, 2016
@trevnorris mind if I work on updating the uses in |
trevnorris
commented
Jan 21, 2016
@cjihrig Be my guest. The usage is slightly different and doubt it'll change how we use it, but figured I'd mention it. |
rvagg
commented
Jan 21, 2016
FYI @nodejs/v8 I turned on nightlies for master recently, you can grab binaries from https://nodejs.org/download/nightly/ if you want to work on the cutting edge. They should work with native addons too as long as NAN is doing the right thing and the addons are coded properly. It'd be great to have some folks regularly using these. I'm also working up a canary-like strategy and will post a strawman soon but wanted to get the nightlies on your radar before we get to that. FWIW this is a script I regularly use to upgrade my Node install and it can also do nightlies: https://gist.github.com/rvagg/742f811be491a49ba0b9. Since I turned on |
bnoordhuis
commented
Jan 21, 2016
LGTM. CI: https://ci.nodejs.org/job/node-test-pull-request/1340/ @indutny You should check if postmortem still works. |
evanlucas
commented
Jan 21, 2016
From a very basic test with llnode, seems to be working fine. EDIT: Actually, I was using the nightly. Disregard my noise please |
ofrobots
commented
Jan 21, 2016
I also started a CI yesterday: https://ci.nodejs.org/job/node-test-pull-request/1330/. I will restart the arm-fanned subset, but it seems like they are failing on every build? @rvagg thanks for setting up the nightlies. Looking forward to the canary strawman. BTW, I have been using |
ofrobots
commented
Jan 21, 2016
Restarted arm-fanned subset: https://ci.nodejs.org/job/node-test-commit-arm-fanned/1240/ |
ofrobots
commented
Jan 22, 2016
The lone failure on arm is |
rvagg
commented
Jan 22, 2016
Pick up V8 4.8 branch-head. This branch brings in @@isConcatSpreadable, @@toPrimitive and ToLength ES6 changes. For full details see: http://v8project.blogspot.de/2015/11/v8-release-48.htmlv8/v8@fa163e2 Ref: #4399 PR-URL: #4785 Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
The error message returned on ArrayBuffer allocation failure is now different as per https://codereview.chromium.org/1393263003. Ref: #4399 PR-URL: #4785 Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
ofrobots
commented
Jan 22, 2016
Landed as 5f6dfab...db9e122. |
cjihrig
commented
Jan 24, 2016
@trevnorris I started looking into |
bnoordhuis
commented
Jan 25, 2016
One possible workaround is to export numeric ids that map to |
trevnorris
commented
Jan 27, 2016
@bnoordhuis when you say it is a |
bnoordhuis
commented
Jan 27, 2016
Yes, it's literally a reinterpret_casted |
domenic
commented
Jan 27, 2016
Please don't do that. The existence of native node packages that did that In the browser, it's imperative for security reasons that private symbols never be exposed to JS code. In Node, Node core and/or any native modules are already running native code on your machine, so you are already in not-great-shape if they want to do something malicious; I doubt the security argument applies. But it still breaks a bunch of invariants V8 relies on to maintain a consistent internal state. |
cjihrig
commented
Feb 2, 2016
Is there any reason we shouldn't use the |
trevnorris
commented
Feb 2, 2016
Heh. Didn't think we should, just wanted to better understand the scope of the problem. :) |
vkurchatkin
commented
Feb 2, 2016
I thought
Wow. I guess it was me: https://github.com/vkurchatkin/private-symbol )
Why? They are exposed to C++ code so the still can be used, but API would be uglier. |
bnoordhuis
commented
Feb 2, 2016
Pick up V8 4.8 branch-head. This branch brings in @@isConcatSpreadable, @@toPrimitive and ToLength ES6 changes. For full details see: http://v8project.blogspot.de/2015/11/v8-release-48.htmlv8/v8@fa163e2 Ref: nodejs#4399 PR-URL: nodejs#4785 Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
The error message returned on ArrayBuffer allocation failure is now different as per https://codereview.chromium.org/1393263003. Ref: nodejs#4399 PR-URL: nodejs#4785 Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
V8 4.8 is now stable with the stable update of Chrome 48: http://googlechromereleases.blogspot.com/2016/01/stable-channel-update_20.html
Pick up V8 4.8 branch-head [ https://github.com/v8/v8/commit/fa163e2]. This branch brings in
@@isConcatSpreadable,@@toPrimitiveandToLengthES6 changes. For full details see: http://v8project.blogspot.de/2015/11/v8-release-48.html/cc @nodejs/v8