Skip to content

Commit a9ae96e

Browse files
sygljharb
authored andcommitted
Normative: Add resizable ArrayBuffer and growable SharedArrayBuffer (#3116)
Major differences from the spec draft: - The idempotent byte length getter machinery is replaced with Integer-Indexed Object With Buffer Witness Record and DataView With BufferWitness Record values instead. These records cache the byte length ahead of time. Because shared memory events are observable, there should only be a single load event of growable SAB byte length until the next point where user code may be called. - IsResizableArrayBuffer is negated and renamed to IsFixedLengthArrayBuffer, because it covers both resizable ABs and growable SABs.
1 parent d254495 commit a9ae96e

File tree

2 files changed

+851
-191
lines changed

2 files changed

+851
-191
lines changed

esmeta-ignore.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@
1717
"Catch[0,0].CatchClauseEvaluation",
1818
"Catch[1,0].CatchClauseEvaluation",
1919
"ClassStaticBlockBody[0,0].EvaluateClassStaticBlockBody",
20-
"CreateArrayIterator",
2120
"CreateBuiltinFunction",
2221
"CreateIterResultObject",
2322
"ECMAScriptFunctionObject.Call",
2423
"ECMAScriptFunctionObject.Construct",
25-
"FindViaPredicate",
2624
"FlattenIntoArray",
2725
"ForIn/OfBodyEvaluation",
2826
"FunctionBody[0,0].EvaluateFunctionBody",
@@ -36,6 +34,7 @@
3634
"IntegerIndexedObjectCreate",
3735
"LabelledItem[1,0].LabelledEvaluation",
3836
"LengthOfArrayLike",
37+
"MakeIntegerIndexedObjectWithBufferWitnessRecord",
3938
"MethodDefinition[0,0].DefineMethod",
4039
"ModuleNamespaceCreate",
4140
"ModuleNamespaceExoticObject.OwnPropertyKeys",
@@ -44,7 +43,6 @@
4443
"SerializeJSONObject",
4544
"SetDefaultGlobalBindings",
4645
"SetFunctionLength",
47-
"SortIndexedProperties",
4846
"SourceTextModuleRecord.ExecuteModule",
4947
"SourceTextModuleRecord.ResolveExport",
5048
"SpeciesConstructor",

0 commit comments

Comments
 (0)