Skip to content

Commit 7187cdc

Browse files
committed
adopt all of Maciej's suggestions
1 parent 736c6e7 commit 7187cdc

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

source

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88522,12 +88522,11 @@ import "https://example.com/foo/../module2.js";</pre>
8852288522
</dd>
8852388523
</dl>
8852488524

88525-
<p>To determine the manifestation of JavaScript's <span>agent cluster</span> concept in user
88526-
agents, we define which <span data-x="agent">agents</span> <dfn>can share memory with</dfn>
88527-
another. Then all the <span data-x="agent">agents</span> that can <span>can share memory
88528-
with</span> each other form an <span>agent cluster</span>.</p>
88525+
<h5>Integration with the JavaScript agent cluster formalism</h5>
8852988526

88530-
<p class="note">The <span>can share memory with</span> relation is symmetric.</p>
88527+
<p><dfn>Can share memory with</dfn> defines an equivalence relation. An <span>agent cluster</span>
88528+
consists of all <span data-x="agent">agents</span> in the same equivalence class with respect to
88529+
the <span>can share memory with</span> equivalence relation.</p>
8853188530

8853288531
<p>A <span>similar-origin window agent</span>, <span>dedicated worker agent</span>, <span>shared
8853388532
worker agent</span>, or <span>service worker agent</span>, <var>agent</var>, <span>can share
@@ -88544,6 +88543,19 @@ import "https://example.com/foo/../module2.js";</pre>
8854488543
href="https://github.com/w3c/css-houdini-drafts/issues/224">w3c/css-houdini-drafts issue
8854588544
#224</a>.</p>
8854688545

88546+
<p>In addition, any <span>agent</span> <var>A</var> <span>can share memory with</span>:</p>
88547+
88548+
<ul class="brief">
88549+
<li><var>A</var>,</li>
88550+
88551+
<li>any <span>agent</span> <var>B</var> such that <var>B</var> <span>can share memory with</span>
88552+
<var>A</var>, and</li>
88553+
88554+
<li>any <span>agent</span> <var>B</var> such that there exists an <span>agent</span>
88555+
<var>C</var>, where <var>A</var> <span>can share memory with</span> <var>C</var> and <var>C</var>
88556+
<span>can share memory with</span> <var>B</var>.</li>
88557+
</ul>
88558+
8854788559
<p>The <span>agent cluster</span> concept is crucial for defining the JavaScript memory model, and
8854888560
in particular among which <span data-x="agent">agents</span> the backing data of
8854988561
<code>SharedArrayBuffer</code> objects can be shared.</p>

0 commit comments

Comments
 (0)