-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
test: support odd value for kStringMaxLength #14476
Conversation
V8 6.2 will support a larger maximum string length on 64-bit platforms. Update the test to take into account its odd value ((1 << 30) - 1 - 24). Refs: v8/v8@e8c9649
While I'm looking at this, and in hopes of removing unnecessary tests, this test uses Also, I'm worried that this test now requires allocating 2GB memory. Could we possibly move this test to only run on |
New CI: https://ci.nodejs.org/job/node-test-pull-request/9460/ @trevnorris do you agree to land this and move your concern to a new issue? This test will not allocate 2GB memory until we upgrade to V8 6.2 (in October). |
One failure is CI is unrelated to this PR |
V8 6.2 will support a larger maximum string length on 64-bit platforms. Update the test to take into account its odd value ((1 << 30) - 1 - 24). Refs: v8/v8@e8c9649 PR-URL: nodejs#14476 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Landed in 753b68f |
@targos As long as we remember to change the test in October that's cool. |
@trevnorris @targos we could add this concern (as a new issue) to the |
V8 6.2 will support a larger maximum string length on 64-bit platforms. Update the test to take into account its odd value ((1 << 30) - 1 - 24). Refs: v8/v8@e8c9649 PR-URL: #14476 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Hi, is it really possible to do this? Hereby from 2019 still not being able to try it yet. Could you please check out my thread? Thanks! |
V8 6.2 will support a larger maximum string length on 64-bit platforms.
Update the test to take into account its odd value ((1 << 30) - 1 - 24).
Refs: v8/v8@e8c9649
Example failing test on canary: https://ci.nodejs.org/job/node-test-commit-linux/11406/nodes=centos7-64/console
@nodejs/v8
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
buffer, V8