-
Notifications
You must be signed in to change notification settings - Fork 71
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
Fix postmortem debugging metadata for V8 7.2 #96
Closed
Closed
Conversation
This file contains 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
Major V8 updates are usually API/ABI incompatible with previous versions. This commit adapts NODE_MODULE_VERSION for V8 7.3. Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md
Co-authored-by: Ujjwal Sharma <usharma1998@gmail.com>
Bump minimum version of ICU needed to build node to 63. Refs: v8/v8@30a350f Co-authored-by: Steven R Loomis <srloomis@us.ibm.com>
New heap space: code_large_object_space
until cb242eded633b55856156da6276f961e63f64253
until 2f852e5e544d97b1b67fef6b68240050d465cf25
until 9362fa94783760a8536d24ef16f17d4489fcd8a9
until 7975e215f7079eef51a0ce484518e463a3741e4e
until a74afec6ba0ddfcec4cc10bf266785612b6ecd91
until d1b4e31bc5a55556de1c9d72905cc0f3af26b080
until 09e405453359000d66cc0faaa102854e626bebeb
until a4993b73c51d1ac1a4ba681f72b015e95d4970d6
This commit updates gen-postmortem-metadata.py to handle the new ACCESSORS2 macro. Once that migration is complete, ACCESSORS2 can be dropped from this script. A constant is also added for SharedFunctionInfo's kFunctionDataOffset, which was broken in a55803a15d2b202562d72bb186463ca3ebef0c1c. See: nodejs#95
The V8 7.2 update requires the following adjustments to the postmortem debugging metadata constants: - v8dbg_prop_idx_first was removed in v8/v8@1ad0cd5 - v8dbg_jsarray_buffer_was_neutered_mask was renamed to v8dbg_jsarray_buffer_was_detached_mask in v8/v8@f68ee6e - v8dbg_jsarray_buffer_was_neutered_shift was renamed to v8dbg_jsarray_buffer_was_detached_shift in v8/v8@f68ee6e - v8dbg_class_Map__instance_descriptors__DescriptorArray moved to v8dbg_class_Map__raw_instance_descriptors__DescriptorArray and began using ACCESSORS2 in v8/v8@799dfad The following postmortem debugging constants were also impacted by V8's introduction of ACCESSORS2, but do not need to be updated the test: - v8dbg_class_ThinString__actual__String changed in v8/v8@0f581e4 - v8dbg_class_UncompiledData__inferred_name__String changed in v8/v8@0f581e4 - v8dbg_class_JSFunction__shared__SharedFunctionInfo changed in v8/v8@8162090 - v8dbg_class_SharedFunctionInfo__function_data__Object had its accessor removed in v8/v8@a55803a This has been fixed in gen-postmortem-metadata.py.
The |
This was referenced Dec 21, 2018
Closed
mmarchini
approved these changes
Dec 22, 2018
bcoe
approved these changes
Dec 23, 2018
6a20999
to
f83d9a1
Compare
a0c8d14
to
891adff
Compare
V8 changes upstreamed at https://chromium-review.googlesource.com/c/v8/v8/+/1392449 |
f9c6397
to
3d7b7b1
Compare
The V8 patch landed. @targos is there anything left to do here? |
cd0c07b
to
d827b28
Compare
47010f6
to
e895333
Compare
Pushed to |
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.
Fixes: #95
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes