-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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 <[email protected]> Reviewed-By: Ali Ijaz Sheikh <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]>
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 <[email protected]> Reviewed-By: Ali Ijaz Sheikh <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]>
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