deps: remove extra field from v8::HeapStatistics#7526
Closed
addaleax wants to merge 1 commit intonodejs:masterfrom
Closed
deps: remove extra field from v8::HeapStatistics#7526addaleax wants to merge 1 commit intonodejs:masterfrom
addaleax wants to merge 1 commit intonodejs:masterfrom
Conversation
Remove the `_malloced_memory` field from the `HeapStatistics` class to achieve full ABI compatibility with V8 5.0. Ref: nodejs#7016
Member
|
LGTM, I guess. Any chance V8 would accept this? |
Member
|
Yeah, this should likely be pushed up stream first. |
Member
Member
|
@bnoordhuis +1 SGTM! |
Member
Author
Member
Author
|
Landed in 4c774e1 |
Contributor
|
@addaleax Is this supposed to land on v6 but not v7? |
Member
Author
Contributor
|
@addaleax Correct, but wouldn't we want this new field for V7? |
Member
|
for v7 we will have a new version of V8. The process of upgrading V8 to a new major version cancels all patches that we apply to |
ofrobots
pushed a commit
to ofrobots/node
that referenced
this pull request
Aug 25, 2016
Remove the `_malloced_memory` field from the `HeapStatistics` class to achieve full ABI compatibility with V8 5.0. Ref: nodejs#7016 PR-URL: nodejs#7526 Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
make -j4 test(UNIX), orvcbuild test nosign(Windows) passesAffected core subsystem(s)
deps/v8
Description of change
Remove the
_malloced_memoryfield from theHeapStatisticsclass to achieve full ABI compatibility with V8 5.0 (as far as I can tell).This structure is probably not something used by addons anyway, since the information from that struct is already made available through Node’s
v8.getHeapStatistics(), but better safe than sorry.Ref: #7016 (comment) (and it would need to be landed in v6 together with #7016).
/cc @ofrobots @nodejs/v8