-
Notifications
You must be signed in to change notification settings - Fork 100
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
Upcoming metadata changes in V8 7.2 #255
Comments
FYI we'll have to add some constants for DescriptorArray now that it is a HeapObject and not a FixedArray. I'll send a PR to V8 today or tomorrow. |
@mmarchini if you add new constants, can you also PR them to Node's postmortem metadata test? I think that makes it a lot easier to know when things are going to break. Alternatively, if you don't want to update the test, just point me to the new constants and I can add them myself. |
I'll update the metadata test once https://chromium-review.googlesource.com/c/v8/v8/+/1832311 lands on core 👍 |
V8 changed DescriptorArray from a FixedArray to a proper HeapObject. These changes update accessors for DescriptorArray fields to make them compatible with FixedArray-like and HeapObject-like access. Ref: nodejs#255
V8 changed DescriptorArray from a FixedArray to a proper HeapObject. These changes update accessors for DescriptorArray fields to make them compatible with FixedArray-like and HeapObject-like access. Ref: nodejs#255
V8 changed DescriptorArray from a FixedArray to a proper HeapObject. These changes update accessors for DescriptorArray fields to make them compatible with FixedArray-like and HeapObject-like access. Ref: nodejs#255
Original commit message: [postmortem] add metadata for the new DescriptorArray layout R=yangguo@chromium.org Ref: nodejs/llnode#255 Change-Id: Icda271123375db5c381fe1d1bba13dcc26f26d7c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1832311 Reviewed-by: Yang Guo <yangguo@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#64169} Refs: v8/v8@cc5016e
Original commit message: [postmortem] add metadata for the new DescriptorArray layout R=yangguo@chromium.org Ref: nodejs/llnode#255 Change-Id: Icda271123375db5c381fe1d1bba13dcc26f26d7c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1832311 Reviewed-by: Yang Guo <yangguo@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#64169} Refs: v8/v8@cc5016e PR-URL: #30870 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
V8 changed DescriptorArray from a FixedArray to a proper HeapObject. These changes update accessors for DescriptorArray fields to make them compatible with FixedArray-like and HeapObject-like access. Ref: nodejs#255
V8 changed DescriptorArray from a FixedArray to a proper HeapObject. These changes update accessors for DescriptorArray fields to make them compatible with FixedArray-like and HeapObject-like access. Ref: #255 PR-URL: #330 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Original commit message: [postmortem] add metadata for the new DescriptorArray layout R=yangguo@chromium.org Ref: nodejs/llnode#255 Change-Id: Icda271123375db5c381fe1d1bba13dcc26f26d7c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1832311 Reviewed-by: Yang Guo <yangguo@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#64169} Refs: v8/v8@cc5016e PR-URL: #30870 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
The V8 7.2 update requires the following adjustments to the postmortem debugging metadata constants:
v8dbg_prop_idx_first
was removed in v8/v8@1ad0cd5v8dbg_jsarray_buffer_was_neutered_mask
was renamed tov8dbg_jsarray_buffer_was_detached_mask
in v8/v8@f68ee6ev8dbg_jsarray_buffer_was_neutered_shift
was renamed tov8dbg_jsarray_buffer_was_detached_shift
in v8/v8@f68ee6ev8dbg_class_Map__instance_descriptors__DescriptorArray
moved tov8dbg_class_Map__raw_instance_descriptors__DescriptorArray
and began usingACCESSORS2
in v8/v8@799dfadThe following postmortem debugging constants were also impacted
by V8's introduction of
ACCESSORS2
:v8dbg_class_ThinString__actual__String
changed in v8/v8@0f581e4v8dbg_class_UncompiledData__inferred_name__String
changed in v8/v8@0f581e4v8dbg_class_JSFunction__shared__SharedFunctionInfo
changed in v8/v8@8162090v8dbg_class_SharedFunctionInfo__function_data__Object
had its accessor removed in v8/v8@a55803a. This will be fixed in gen-postmortem-metadata.py.Refs: nodejs/node-v8#96
The text was updated successfully, but these errors were encountered: