Skip to content

add custom allocator option - #60

Merged
cjihrig merged 1 commit into
nodejs:masterfrom
addaleax:alloc
Dec 1, 2019
Merged

cjihrig merged 1 commit into
nodejs:masterfrom
addaleax:alloc

Conversation

@addaleax

@addaleax addaleax commented Dec 1, 2019

Copy link
Copy Markdown
Member

This is a good idea for libraries in general, and helps with tracking
memory allocated by uvwasi in Node.js.

The allocator struct format is identical to the one used by nghttp2
and related libraries, which makes things a bit easier because we’ve
added generic support for that format in the QUIC repo.

This is a good idea for libraries in general, and helps with tracking
memory allocated by uvwasi in Node.js.

The allocator struct format is identical to the one used by nghttp2
and related libraries, which makes things a bit easier because we’ve
added generic support for that format in the QUIC repo.

@cjihrig cjihrig left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

I think the answer is "yes" but double checking... does https://travis-ci.com/nodejs/node/jobs/261846786 include Node's wasi test suite?

@addaleax

addaleax commented Dec 1, 2019

Copy link
Copy Markdown
Member Author

I think the answer is "yes" but double checking... does https://travis-ci.com/nodejs/node/jobs/261846786 include Node's wasi test suite?

@cjihrig Travis runs the default test suites, which includes wasi afaict, yes: https://github.com/nodejs/node/blob/6bf5a1d691291cdfcc4941e68f00d0003e565476/tools/test.py#L1487-L1506

@cjihrig

cjihrig commented Dec 1, 2019

Copy link
Copy Markdown
Collaborator

Cool. Thanks!

@cjihrig
cjihrig merged commit aeee482 into nodejs:master Dec 1, 2019
@addaleax
addaleax deleted the alloc branch December 1, 2019 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants