v8/test/mjsunit/shared-memory
Shu-yu Guo 15cc02b4e8 [shared-struct] Disallow property redefinition
Shared objects have fixed layout (i.e. immutable maps) and start off
sealed. Ordinary JS objects allow writable properties to be redefined to
be non-writable. This violates the fixed layout invariant and needs to
be disallowed.

Also contains a drive-by fix removing
@highestInstanceTypeWithinParentClassRange, which is unneeded.

Bug: chromium:1407595, v8:12547
Change-Id: I0257fa19f59ccfaaf0e07cb42aeedd71e132d21a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4190525
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#85570}
2023-01-31 18:42:46 +00:00
..
cannot-redefine-properties.js [shared-struct] Disallow property redefinition 2023-01-31 18:42:46 +00:00
client-gc.js
condition-workers.js
condition.js [shared-struct] Fix shared barrier for always shared objects 2023-01-10 19:07:40 +00:00
mutex-lock-twice.js [heap] Mark main isolates WaiterQueueNode in EPT with --shared-space 2023-01-16 11:43:48 +00:00
mutex-workers.js
mutex.js [shared-struct] Fix shared barrier for always shared objects 2023-01-10 19:07:40 +00:00
non-instance-prototype.js [shared-struct] Mark shared constructors has_non_instance_prototype 2023-01-11 19:31:54 +00:00
private-field.js [shared-struct] Disallow adding private fields to shared objects 2023-01-24 15:54:04 +00:00
private-name.js [shared-struct] Disallow adding private named properties to shared objects 2022-11-30 13:26:42 +00:00
shared-array-atomics-workers.js
shared-array-atomics.js
shared-array-surface.js [shared-struct] Store length per-SharedArray instance 2022-11-21 22:14:15 +00:00
shared-array-workers.js
shared-external-string-dictionary-lookup.js
shared-external-string-megamorphic-ic.js
shared-string-copy-on-share-large.js [string] Copy when sharing strings that are not in shared space 2022-12-19 16:28:22 +00:00
shared-string-copy-on-share.js [string] Copy when sharing strings that are not in shared space 2022-12-19 16:28:22 +00:00
shared-string-in-code-object.js
shared-string-in-weak-map.js
shared-string-promotion-major.js
shared-string-promotion-minor.js
shared-string.js
shared-struct-atomics-workers.js
shared-struct-atomics.js
shared-struct-property-storage.js
shared-struct-surface.js [shared-struct] Fix using shared objects as prototypes more 2022-12-17 01:22:25 +00:00
shared-struct-workers-optimized-code.js
shared-struct-workers.js
shared-value-barrier-optimization.js [shared-struct] Fix shared value barrier in TF 2023-01-11 19:28:45 +00:00
shrink-large-object.js [heap] Remove OLD_TO_SHARED slots when shrinking large objects 2022-11-21 21:29:27 +00:00
value-serializer.js