Skip to content

Leave collected keys out of a weak map's arrays, which failed a container's kill - #720

Merged
lagergren merged 3 commits into
masterfrom
lagergren/fix-weak-map-arrays
Oct 26, 2026
Merged

lagergren merged 3 commits into
masterfrom
lagergren/fix-weak-map-arrays

Conversation

@lagergren

Copy link
Copy Markdown
Contributor

Summary

Killing a container can fail with NullPointerException: Cannot invoke "org.xvm.runtime.ServiceContext.requestShutdown()" because "services[i]" is null. It happens once one of the container's services has been garbage collected while the container still runs. Through the runner, the close of an embedded run then fails, or, when the kill ends a run whose services have nothing left to do, the run's end is never reported and its join() never returns.

Root cause

Container.terminateServices() takes its services with toArray() from Collections.newSetFromMap(new ConcurrentWeakHasherMap<>()). WeakHasherMap's key and entry sets leave keys that the collector has cleared, but the map hasn't removed yet, out of their iterators, but not out of toArray(). They inherit that from AbstractConverterCollection, which converts each stored weak reference, and a cleared one becomes null.

Change

  • WeakHasherMap.KeySet and EntrySet make both toArray()s from their own iterators.

Validation

  • New WeakHasherMapTest.shouldLeaveCollectedKeysOutOfArrays: it collects a key and checks the arrays of the key set, the entry set, and a set made as Container's is. Without the fix it fails on master 7a79c6ef0 every time, with "array lengths differ, expected: <1> but was: <2>".
  • After xdk:installDist: :javatools_utils:test passes 122 tests, the 2 existing skips; :javatools:test 456, the 42 existing skips; spotlessCheck passes.
  • Found on the LSP branch, where the debugger's tests close many embedded runs in a row: about once in five runs of the suite, a close failed with the error above.

Limits

  • The sets' size() still counts a collected key until the map removes it, and the map's values() still includes a collected key's value. Neither is used where the nulls broke anything.
  • The runner still doesn't survive a kill() that throws; that isn't changed here.

lagergren added a commit that referenced this pull request Oct 23, 2026
docs/remaining.md gives each master candidate its pull request: the
weak map fix #720, also on #693 as a5e25c7, the EvalCompiler fixes
#721, native toString() #722, the Nibble fix #723, which now covers its
bits and String constructor as well, and lib_json's \u escapes #724,
found through Nibble.of()'s callers. A bug found with #724 and not
fixed is added: Char.appendEscaped() writes the first three hexits of a
\u escape as 0.

Validation: records only; each pull request's validation is in its
commit and description. The appendEscaped() output was checked on
master: 0x2028.toChar().quoted() is '\u0008'.

Limits: none of the pull requests has a review yet.
lagergren added a commit that referenced this pull request Oct 26, 2026
…llector

Review of #720: the key and entry sets' toArray() collected the live
elements in an ArrayList and copied them into the array it returned.
They now fill an array of size() from the filtering iterator, and copy
only when the iterator left out keys that were collected but not yet
removed. toArray(T[]) is no longer overridden: the converting one it
inherits copies what toArray() returns. The sets' doc comments no
longer mention the arrays.

The test no longer depends on System.gc(), which is only a hint (with
-XX:+DisableExplicitGC it does nothing, and the test failed on its
"the key was not collected" check). It gives the map and the concurrent
set storage of its own, and clears the weak reference to one key there
with Reference.clear(), which, unlike the collector, does not queue it:
the key is collected but not yet removed, at once and every time.

Validation:
- WeakHasherMapTest 7 tests pass; with master's WeakHasherMap in place,
  shouldLeaveCollectedKeysOutOfArrays fails ("array lengths differ,
  expected: <1> but was: <2>").
- :javatools_utils:test 122 tests, 0 failures, the 2 @disabled SetTest
  skips; spotlessCheck passes.

Limits: none.
@lagergren
lagergren requested a review from ggleyzer October 26, 2026 10:18
lagergren added a commit that referenced this pull request Oct 26, 2026
…llector

Review of #720: the key and entry sets' toArray() collected the live
elements in an ArrayList and copied them into the array it returned.
They now fill an array of size() from the filtering iterator, and copy
only when the iterator left out keys that were collected but not yet
removed. toArray(T[]) is no longer overridden: the converting one it
inherits copies what toArray() returns. The sets' doc comments no
longer mention the arrays.

The test no longer depends on System.gc(), which is only a hint (with
-XX:+DisableExplicitGC it does nothing, and the test failed on its
"the key was not collected" check). It gives the map and the concurrent
set storage of its own, and clears the weak reference to one key there
with Reference.clear(), which, unlike the collector, does not queue it:
the key is collected but not yet removed, at once and every time.

Validation:
- WeakHasherMapTest 7 tests pass; with master's WeakHasherMap in place,
  shouldLeaveCollectedKeysOutOfArrays fails ("array lengths differ,
  expected: <1> but was: <2>").
- :javatools_utils:test 122 tests, 0 failures, the 2 @disabled SetTest
  skips; spotlessCheck passes.

Limits: none.
lagergren added a commit that referenced this pull request Oct 26, 2026
docs/remaining.md: #723 is merged as 80bf83f. #722 is closed after
review, since the interpreter keeps natural Ecstasy code and speed is
the JIT's; its item is declined. #717 no longer carries the UID change,
as decided on #677, which stays on this branch only. #719 replaces
#718: both fix the hang, neither test catches it, and #719 has no
debugger a host supplies, which now comes with the DAP work, and with
it the refiling of the EvalCompiler fixes. #720's and #724's review
changes are recorded, #720's with this branch's copy, 7fe6450.

Validation: records only. The hang was reproduced with a program that
runs a module with assert:debug through EmbeddingSupport and a standard
input that stays open: master waits at "Enter command:", #718 and #719
end.

Limits: none.
WeakHasherMap's key and entry sets left keys that the garbage
collector had cleared, but the map had not yet removed, out of their
iterators, but not out of toArray(), which they inherit from
AbstractConverterCollection: it converts each stored weak reference,
and a cleared one becomes null. Both sets now make their arrays from
their own iterators.

Container.terminateServices() takes its services from such a set with
toArray() and calls requestShutdown() on each, so a service that was
collected while its container lived made the container's kill fail
with "Cannot invoke ServiceContext.requestShutdown() because
services[i] is null". Through the runner, that failed the close of an
embedded run, and, when it was the end of a run whose services had
nothing left to do, it left the run without an end, so its join()
never returned. Master has the same code.

Tests: WeakHasherMapTest.shouldLeaveCollectedKeysOutOfArrays collects
a key and checks the key set's two toArray()s, the entry set's, and
those of a set made, as Container's is, with Collections.newSetFromMap
over a ConcurrentWeakHasherMap. Without the fix, the key set's array
holds the collected key's null, every time: a map whose storage is not
concurrent never removes it on a read.

Validation: the new case fails on master 7a79c6e without the fix,
"array lengths differ, expected: <1> but was: <2>". With it, after
xdk:installDist: WeakHasherMapTest passes 7, :javatools_utils:test 122
with SetTest's 2 existing skips, :javatools:test 456 with the 42
existing skips; spotlessCheck passes.

Problems found and fixed:
- Found on lagergren/errs, where the debugger's tests close many
  embedded runs one after another: about once in five runs of the
  suite, a close failed with the error above.

Limits: the sets' size() still counts a collected key until the map
removes it, as before, and the map's values() view still includes the
value of a collected key; neither is used where the nulls broke
anything. The runner does not survive a kill() that throws: the end
of a run is then never reported; that is not changed here.
shouldLeaveCollectedKeysOutOfArrays() and its putCollectable() declare
their locals with var where the right-hand side names the type, as the
rest of WeakHasherMapTest does; the map and the set give their type
arguments to their constructors instead.

Validation: WeakHasherMapTest passes 7, and the case still fails
without the fix, with "array lengths differ, expected: <1> but was:
<2>"; spotlessCheck passes.

Limits: none.
…llector

Review of #720: the key and entry sets' toArray() collected the live
elements in an ArrayList and copied them into the array it returned.
They now fill an array of size() from the filtering iterator, and copy
only when the iterator left out keys that were collected but not yet
removed. toArray(T[]) is no longer overridden: the converting one it
inherits copies what toArray() returns. The sets' doc comments no
longer mention the arrays.

The test no longer depends on System.gc(), which is only a hint (with
-XX:+DisableExplicitGC it does nothing, and the test failed on its
"the key was not collected" check). It gives the map and the concurrent
set storage of its own, and clears the weak reference to one key there
with Reference.clear(), which, unlike the collector, does not queue it:
the key is collected but not yet removed, at once and every time.

Validation:
- WeakHasherMapTest 7 tests pass; with master's WeakHasherMap in place,
  shouldLeaveCollectedKeysOutOfArrays fails ("array lengths differ,
  expected: <1> but was: <2>").
- :javatools_utils:test 122 tests, 0 failures, the 2 @disabled SetTest
  skips; spotlessCheck passes.

Limits: none.
@lagergren
lagergren force-pushed the lagergren/fix-weak-map-arrays branch from 8c457fe to f0d3c65 Compare October 26, 2026 11:06
@lagergren
lagergren merged commit 207f38c into master Oct 26, 2026
5 checks passed
@lagergren
lagergren deleted the lagergren/fix-weak-map-arrays branch October 26, 2026 13:43
lagergren added a commit that referenced this pull request Oct 26, 2026
docs/remaining.md gives each master candidate its pull request: the
weak map fix #720, also on #693 as a5e25c7, the EvalCompiler fixes
#721, native toString() #722, the Nibble fix #723, which now covers its
bits and String constructor as well, and lib_json's \u escapes #724,
found through Nibble.of()'s callers. A bug found with #724 and not
fixed is added: Char.appendEscaped() writes the first three hexits of a
\u escape as 0.

Validation: records only; each pull request's validation is in its
commit and description. The appendEscaped() output was checked on
master: 0x2028.toChar().quoted() is '\u0008'.

Limits: none of the pull requests has a review yet.
lagergren added a commit that referenced this pull request Oct 26, 2026
docs/remaining.md: #723 is merged as 80bf83f. #722 is closed after
review, since the interpreter keeps natural Ecstasy code and speed is
the JIT's; its item is declined. #717 no longer carries the UID change,
as decided on #677, which stays on this branch only. #719 replaces
#718: both fix the hang, neither test catches it, and #719 has no
debugger a host supplies, which now comes with the DAP work, and with
it the refiling of the EvalCompiler fixes. #720's and #724's review
changes are recorded, #720's with this branch's copy, 7fe6450.

Validation: records only. The hang was reproduced with a program that
runs a module with assert:debug through EmbeddingSupport and a standard
input that stays open: master waits at "Enter command:", #718 and #719
end.

Limits: none.
lagergren added a commit that referenced this pull request Oct 26, 2026
docs/remaining.md gives each master candidate its pull request: the
weak map fix #720, also on #693 as a5e25c7, the EvalCompiler fixes
#721, native toString() #722, the Nibble fix #723, which now covers its
bits and String constructor as well, and lib_json's \u escapes #724,
found through Nibble.of()'s callers. A bug found with #724 and not
fixed is added: Char.appendEscaped() writes the first three hexits of a
\u escape as 0.

Validation: records only; each pull request's validation is in its
commit and description. The appendEscaped() output was checked on
master: 0x2028.toChar().quoted() is '\u0008'.

Limits: none of the pull requests has a review yet.
lagergren added a commit that referenced this pull request Oct 26, 2026
docs/remaining.md: #723 is merged as 80bf83f. #722 is closed after
review, since the interpreter keeps natural Ecstasy code and speed is
the JIT's; its item is declined. #717 no longer carries the UID change,
as decided on #677, which stays on this branch only. #719 replaces
#718: both fix the hang, neither test catches it, and #719 has no
debugger a host supplies, which now comes with the DAP work, and with
it the refiling of the EvalCompiler fixes. #720's and #724's review
changes are recorded, #720's with this branch's copy, 7fe6450.

Validation: records only. The hang was reproduced with a program that
runs a module with assert:debug through EmbeddingSupport and a standard
input that stays open: master waits at "Enter command:", #718 and #719
end.

Limits: none.
lagergren added a commit that referenced this pull request Oct 27, 2026
docs/remaining.md gives each master candidate its pull request: the
weak map fix #720, also on #693 as a5e25c7, the EvalCompiler fixes
#721, native toString() #722, the Nibble fix #723, which now covers its
bits and String constructor as well, and lib_json's \u escapes #724,
found through Nibble.of()'s callers. A bug found with #724 and not
fixed is added: Char.appendEscaped() writes the first three hexits of a
\u escape as 0.

Validation: records only; each pull request's validation is in its
commit and description. The appendEscaped() output was checked on
master: 0x2028.toChar().quoted() is '\u0008'.

Limits: none of the pull requests has a review yet.
lagergren added a commit that referenced this pull request Oct 27, 2026
docs/remaining.md: #723 is merged as 80bf83f. #722 is closed after
review, since the interpreter keeps natural Ecstasy code and speed is
the JIT's; its item is declined. #717 no longer carries the UID change,
as decided on #677, which stays on this branch only. #719 replaces
#718: both fix the hang, neither test catches it, and #719 has no
debugger a host supplies, which now comes with the DAP work, and with
it the refiling of the EvalCompiler fixes. #720's and #724's review
changes are recorded, #720's with this branch's copy, 7fe6450.

Validation: records only. The hang was reproduced with a program that
runs a module with assert:debug through EmbeddingSupport and a standard
input that stays open: master waits at "Enter command:", #718 and #719
end.

Limits: none.
lagergren added a commit that referenced this pull request Oct 28, 2026
docs/remaining.md gives each master candidate its pull request: the
weak map fix #720, also on #693 as a5e25c7, the EvalCompiler fixes
#721, native toString() #722, the Nibble fix #723, which now covers its
bits and String constructor as well, and lib_json's \u escapes #724,
found through Nibble.of()'s callers. A bug found with #724 and not
fixed is added: Char.appendEscaped() writes the first three hexits of a
\u escape as 0.

Validation: records only; each pull request's validation is in its
commit and description. The appendEscaped() output was checked on
master: 0x2028.toChar().quoted() is '\u0008'.

Limits: none of the pull requests has a review yet.
lagergren added a commit that referenced this pull request Oct 28, 2026
docs/remaining.md: #723 is merged as 80bf83f. #722 is closed after
review, since the interpreter keeps natural Ecstasy code and speed is
the JIT's; its item is declined. #717 no longer carries the UID change,
as decided on #677, which stays on this branch only. #719 replaces
#718: both fix the hang, neither test catches it, and #719 has no
debugger a host supplies, which now comes with the DAP work, and with
it the refiling of the EvalCompiler fixes. #720's and #724's review
changes are recorded, #720's with this branch's copy, 7fe6450.

Validation: records only. The hang was reproduced with a program that
runs a module with assert:debug through EmbeddingSupport and a standard
input that stays open: master waits at "Enter command:", #718 and #719
end.

Limits: none.
lagergren added a commit that referenced this pull request Oct 28, 2026
docs/remaining.md gives each master candidate its pull request: the
weak map fix #720, also on #693 as a5e25c7, the EvalCompiler fixes
#721, native toString() #722, the Nibble fix #723, which now covers its
bits and String constructor as well, and lib_json's \u escapes #724,
found through Nibble.of()'s callers. A bug found with #724 and not
fixed is added: Char.appendEscaped() writes the first three hexits of a
\u escape as 0.

Validation: records only; each pull request's validation is in its
commit and description. The appendEscaped() output was checked on
master: 0x2028.toChar().quoted() is '\u0008'.

Limits: none of the pull requests has a review yet.
lagergren added a commit that referenced this pull request Oct 28, 2026
docs/remaining.md: #723 is merged as 80bf83f. #722 is closed after
review, since the interpreter keeps natural Ecstasy code and speed is
the JIT's; its item is declined. #717 no longer carries the UID change,
as decided on #677, which stays on this branch only. #719 replaces
#718: both fix the hang, neither test catches it, and #719 has no
debugger a host supplies, which now comes with the DAP work, and with
it the refiling of the EvalCompiler fixes. #720's and #724's review
changes are recorded, #720's with this branch's copy, 7fe6450.

Validation: records only. The hang was reproduced with a program that
runs a module with assert:debug through EmbeddingSupport and a standard
input that stays open: master waits at "Enter command:", #718 and #719
end.

Limits: none.
lagergren added a commit that referenced this pull request Oct 29, 2026
docs/remaining.md gives each master candidate its pull request: the
weak map fix #720, also on #693 as a5e25c7, the EvalCompiler fixes
#721, native toString() #722, the Nibble fix #723, which now covers its
bits and String constructor as well, and lib_json's \u escapes #724,
found through Nibble.of()'s callers. A bug found with #724 and not
fixed is added: Char.appendEscaped() writes the first three hexits of a
\u escape as 0.

Validation: records only; each pull request's validation is in its
commit and description. The appendEscaped() output was checked on
master: 0x2028.toChar().quoted() is '\u0008'.

Limits: none of the pull requests has a review yet.
lagergren added a commit that referenced this pull request Oct 29, 2026
docs/remaining.md: #723 is merged as 80bf83f. #722 is closed after
review, since the interpreter keeps natural Ecstasy code and speed is
the JIT's; its item is declined. #717 no longer carries the UID change,
as decided on #677, which stays on this branch only. #719 replaces
#718: both fix the hang, neither test catches it, and #719 has no
debugger a host supplies, which now comes with the DAP work, and with
it the refiling of the EvalCompiler fixes. #720's and #724's review
changes are recorded, #720's with this branch's copy, 7fe6450.

Validation: records only. The hang was reproduced with a program that
runs a module with assert:debug through EmbeddingSupport and a standard
input that stays open: master waits at "Enter command:", #718 and #719
end.

Limits: none.
lagergren added a commit that referenced this pull request Oct 29, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done
(run-Pc161s, 332 of 333 with UP23's accepted X218; again on
vscode-languageclient 11.0.0); the master candidates name what merged
(#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the
one still open; #693's sync line has its rebase onto #742 and its commit
71. The plan's opening and inventory name the 2026-10-28 full-catalog
runs in both editors instead of the October 7 checkpoint.

Validation: docs only; each state read from GitHub and the run reports
on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren added a commit that referenced this pull request Nov 5, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done
(run-Pc161s, 332 of 333 with UP23's accepted X218; again on
vscode-languageclient 11.0.0); the master candidates name what merged
(#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the
one still open; #693's sync line has its rebase onto #742 and its commit
71. The plan's opening and inventory name the 2026-10-28 full-catalog
runs in both editors instead of the October 7 checkpoint.

Validation: docs only; each state read from GitHub and the run reports
on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren added a commit that referenced this pull request Nov 5, 2026
Checked against git log, the local branches and GitHub on 2026-11-04:

- Header: checked today; R6-R13 are all closed.
- R13: the command-line and attach entries said the server passes
  agent=<jar> and its jar is the agent; both now say that held until
  the agent moved into javatools. The agent entry records the CI fixes
  of the rebase (fc302da, a145de1; #693 c4f916b, 0e95701).
- LSP4IJ pull requests open: lists our three open ones, #1857 (UP67),
  #1854 (Ctrl+hover underline, LSP4IJ #1612, no UP entry) and #1858
  (docs), with the other 96 merged.
- The 0.30.0 bump branch: rebased on 2026-10-29 (tip 9cb776697c), so
  the base and tip given were stale; it needs rebasing onto today's
  errs, and its items keep their 2026-10-28 hashes, as said.
- LSP4J: #1011 (closing #1010) and #1008 merged on 2026-11-03; #1009,
  #1016 and #1017 open.
- "Not filed yet" was filed on 2026-10-28; the section says so, and
  UP17's #3728 is ticked: JetBrains pushed it to intellij-community
  master on 2026-11-03 (5079f25b88) and closed the pull request on
  2026-11-04, unreleased.
- Pull requests: #755 merged (a8d50aa) and the rebase dropped its
  copies; #693 last synchronized 2026-11-04 at c4f916b; the master
  candidates item is ticked, all decided by 2026-10-29, with #719's
  closing, #718's merge and #720's arrival on #693 said.

Every relative link and anchor in the file resolves.
lagergren added a commit that referenced this pull request Nov 9, 2026
docs/remaining.md gives each master candidate its pull request: the
weak map fix #720, also on #693 as a5e25c7, the EvalCompiler fixes
#721, native toString() #722, the Nibble fix #723, which now covers its
bits and String constructor as well, and lib_json's \u escapes #724,
found through Nibble.of()'s callers. A bug found with #724 and not
fixed is added: Char.appendEscaped() writes the first three hexits of a
\u escape as 0.

Validation: records only; each pull request's validation is in its
commit and description. The appendEscaped() output was checked on
master: 0x2028.toChar().quoted() is '\u0008'.

Limits: none of the pull requests has a review yet.
lagergren added a commit that referenced this pull request Nov 9, 2026
docs/remaining.md: #723 is merged as 80bf83f. #722 is closed after
review, since the interpreter keeps natural Ecstasy code and speed is
the JIT's; its item is declined. #717 no longer carries the UID change,
as decided on #677, which stays on this branch only. #719 replaces
#718: both fix the hang, neither test catches it, and #719 has no
debugger a host supplies, which now comes with the DAP work, and with
it the refiling of the EvalCompiler fixes. #720's and #724's review
changes are recorded, #720's with this branch's copy, 7fe6450.

Validation: records only. The hang was reproduced with a program that
runs a module with assert:debug through EmbeddingSupport and a standard
input that stays open: master waits at "Enter command:", #718 and #719
end.

Limits: none.
lagergren added a commit that referenced this pull request Nov 9, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done
(run-Pc161s, 332 of 333 with UP23's accepted X218; again on
vscode-languageclient 11.0.0); the master candidates name what merged
(#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the
one still open; #693's sync line has its rebase onto #742 and its commit
71. The plan's opening and inventory name the 2026-10-28 full-catalog
runs in both editors instead of the October 7 checkpoint.

Validation: docs only; each state read from GitHub and the run reports
on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren added a commit that referenced this pull request Nov 9, 2026
Checked against git log, the local branches and GitHub on 2026-11-04:

- Header: checked today; R6-R13 are all closed.
- R13: the command-line and attach entries said the server passes
  agent=<jar> and its jar is the agent; both now say that held until
  the agent moved into javatools. The agent entry records the CI fixes
  of the rebase (fc302da, a145de1; #693 c4f916b, 0e95701).
- LSP4IJ pull requests open: lists our three open ones, #1857 (UP67),
  #1854 (Ctrl+hover underline, LSP4IJ #1612, no UP entry) and #1858
  (docs), with the other 96 merged.
- The 0.30.0 bump branch: rebased on 2026-10-29 (tip 9cb776697c), so
  the base and tip given were stale; it needs rebasing onto today's
  errs, and its items keep their 2026-10-28 hashes, as said.
- LSP4J: #1011 (closing #1010) and #1008 merged on 2026-11-03; #1009,
  #1016 and #1017 open.
- "Not filed yet" was filed on 2026-10-28; the section says so, and
  UP17's #3728 is ticked: JetBrains pushed it to intellij-community
  master on 2026-11-03 (5079f25b88) and closed the pull request on
  2026-11-04, unreleased.
- Pull requests: #755 merged (a8d50aa) and the rebase dropped its
  copies; #693 last synchronized 2026-11-04 at c4f916b; the master
  candidates item is ticked, all decided by 2026-10-29, with #719's
  closing, #718's merge and #720's arrival on #693 said.

Every relative link and anchor in the file resolves.
lagergren added a commit that referenced this pull request Nov 11, 2026
docs/remaining.md gives each master candidate its pull request: the
weak map fix #720, also on #693 as a5e25c7, the EvalCompiler fixes
#721, native toString() #722, the Nibble fix #723, which now covers its
bits and String constructor as well, and lib_json's \u escapes #724,
found through Nibble.of()'s callers. A bug found with #724 and not
fixed is added: Char.appendEscaped() writes the first three hexits of a
\u escape as 0.

Validation: records only; each pull request's validation is in its
commit and description. The appendEscaped() output was checked on
master: 0x2028.toChar().quoted() is '\u0008'.

Limits: none of the pull requests has a review yet.
lagergren added a commit that referenced this pull request Nov 11, 2026
docs/remaining.md: #723 is merged as 80bf83f. #722 is closed after
review, since the interpreter keeps natural Ecstasy code and speed is
the JIT's; its item is declined. #717 no longer carries the UID change,
as decided on #677, which stays on this branch only. #719 replaces
#718: both fix the hang, neither test catches it, and #719 has no
debugger a host supplies, which now comes with the DAP work, and with
it the refiling of the EvalCompiler fixes. #720's and #724's review
changes are recorded, #720's with this branch's copy, 7fe6450.

Validation: records only. The hang was reproduced with a program that
runs a module with assert:debug through EmbeddingSupport and a standard
input that stays open: master waits at "Enter command:", #718 and #719
end.

Limits: none.
lagergren added a commit that referenced this pull request Nov 11, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done
(run-Pc161s, 332 of 333 with UP23's accepted X218; again on
vscode-languageclient 11.0.0); the master candidates name what merged
(#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the
one still open; #693's sync line has its rebase onto #742 and its commit
71. The plan's opening and inventory name the 2026-10-28 full-catalog
runs in both editors instead of the October 7 checkpoint.

Validation: docs only; each state read from GitHub and the run reports
on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren added a commit that referenced this pull request Nov 11, 2026
Checked against git log, the local branches and GitHub on 2026-11-04:

- Header: checked today; R6-R13 are all closed.
- R13: the command-line and attach entries said the server passes
  agent=<jar> and its jar is the agent; both now say that held until
  the agent moved into javatools. The agent entry records the CI fixes
  of the rebase (fc302da, a145de1; #693 c4f916b, 0e95701).
- LSP4IJ pull requests open: lists our three open ones, #1857 (UP67),
  #1854 (Ctrl+hover underline, LSP4IJ #1612, no UP entry) and #1858
  (docs), with the other 96 merged.
- The 0.30.0 bump branch: rebased on 2026-10-29 (tip 9cb776697c), so
  the base and tip given were stale; it needs rebasing onto today's
  errs, and its items keep their 2026-10-28 hashes, as said.
- LSP4J: #1011 (closing #1010) and #1008 merged on 2026-11-03; #1009,
  #1016 and #1017 open.
- "Not filed yet" was filed on 2026-10-28; the section says so, and
  UP17's #3728 is ticked: JetBrains pushed it to intellij-community
  master on 2026-11-03 (5079f25b88) and closed the pull request on
  2026-11-04, unreleased.
- Pull requests: #755 merged (a8d50aa) and the rebase dropped its
  copies; #693 last synchronized 2026-11-04 at c4f916b; the master
  candidates item is ticked, all decided by 2026-10-29, with #719's
  closing, #718's merge and #720's arrival on #693 said.

Every relative link and anchor in the file resolves.
lagergren added a commit that referenced this pull request Nov 22, 2026
docs/remaining.md gives each master candidate its pull request: the
weak map fix #720, also on #693 as a5e25c7, the EvalCompiler fixes
#721, native toString() #722, the Nibble fix #723, which now covers its
bits and String constructor as well, and lib_json's \u escapes #724,
found through Nibble.of()'s callers. A bug found with #724 and not
fixed is added: Char.appendEscaped() writes the first three hexits of a
\u escape as 0.

Validation: records only; each pull request's validation is in its
commit and description. The appendEscaped() output was checked on
master: 0x2028.toChar().quoted() is '\u0008'.

Limits: none of the pull requests has a review yet.
lagergren added a commit that referenced this pull request Nov 22, 2026
docs/remaining.md: #723 is merged as 80bf83f. #722 is closed after
review, since the interpreter keeps natural Ecstasy code and speed is
the JIT's; its item is declined. #717 no longer carries the UID change,
as decided on #677, which stays on this branch only. #719 replaces
#718: both fix the hang, neither test catches it, and #719 has no
debugger a host supplies, which now comes with the DAP work, and with
it the refiling of the EvalCompiler fixes. #720's and #724's review
changes are recorded, #720's with this branch's copy, 7fe6450.

Validation: records only. The hang was reproduced with a program that
runs a module with assert:debug through EmbeddingSupport and a standard
input that stays open: master waits at "Enter command:", #718 and #719
end.

Limits: none.
lagergren added a commit that referenced this pull request Nov 22, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done
(run-Pc161s, 332 of 333 with UP23's accepted X218; again on
vscode-languageclient 11.0.0); the master candidates name what merged
(#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the
one still open; #693's sync line has its rebase onto #742 and its commit
71. The plan's opening and inventory name the 2026-10-28 full-catalog
runs in both editors instead of the October 7 checkpoint.

Validation: docs only; each state read from GitHub and the run reports
on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren added a commit that referenced this pull request Nov 22, 2026
Checked against git log, the local branches and GitHub on 2026-11-04:

- Header: checked today; R6-R13 are all closed.
- R13: the command-line and attach entries said the server passes
  agent=<jar> and its jar is the agent; both now say that held until
  the agent moved into javatools. The agent entry records the CI fixes
  of the rebase (fc302da, a145de1; #693 c4f916b, 0e95701).
- LSP4IJ pull requests open: lists our three open ones, #1857 (UP67),
  #1854 (Ctrl+hover underline, LSP4IJ #1612, no UP entry) and #1858
  (docs), with the other 96 merged.
- The 0.30.0 bump branch: rebased on 2026-10-29 (tip 9cb776697c), so
  the base and tip given were stale; it needs rebasing onto today's
  errs, and its items keep their 2026-10-28 hashes, as said.
- LSP4J: #1011 (closing #1010) and #1008 merged on 2026-11-03; #1009,
  #1016 and #1017 open.
- "Not filed yet" was filed on 2026-10-28; the section says so, and
  UP17's #3728 is ticked: JetBrains pushed it to intellij-community
  master on 2026-11-03 (5079f25b88) and closed the pull request on
  2026-11-04, unreleased.
- Pull requests: #755 merged (a8d50aa) and the rebase dropped its
  copies; #693 last synchronized 2026-11-04 at c4f916b; the master
  candidates item is ticked, all decided by 2026-10-29, with #719's
  closing, #718's merge and #720's arrival on #693 said.

Every relative link and anchor in the file resolves.
lagergren added a commit that referenced this pull request Nov 25, 2026
docs/remaining.md gives each master candidate its pull request: the
weak map fix #720, also on #693 as a5e25c7, the EvalCompiler fixes
#721, native toString() #722, the Nibble fix #723, which now covers its
bits and String constructor as well, and lib_json's \u escapes #724,
found through Nibble.of()'s callers. A bug found with #724 and not
fixed is added: Char.appendEscaped() writes the first three hexits of a
\u escape as 0.

Validation: records only; each pull request's validation is in its
commit and description. The appendEscaped() output was checked on
master: 0x2028.toChar().quoted() is '\u0008'.

Limits: none of the pull requests has a review yet.
lagergren added a commit that referenced this pull request Nov 25, 2026
docs/remaining.md: #723 is merged as 80bf83f. #722 is closed after
review, since the interpreter keeps natural Ecstasy code and speed is
the JIT's; its item is declined. #717 no longer carries the UID change,
as decided on #677, which stays on this branch only. #719 replaces
#718: both fix the hang, neither test catches it, and #719 has no
debugger a host supplies, which now comes with the DAP work, and with
it the refiling of the EvalCompiler fixes. #720's and #724's review
changes are recorded, #720's with this branch's copy, 7fe6450.

Validation: records only. The hang was reproduced with a program that
runs a module with assert:debug through EmbeddingSupport and a standard
input that stays open: master waits at "Enter command:", #718 and #719
end.

Limits: none.
lagergren added a commit that referenced this pull request Nov 25, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done
(run-Pc161s, 332 of 333 with UP23's accepted X218; again on
vscode-languageclient 11.0.0); the master candidates name what merged
(#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the
one still open; #693's sync line has its rebase onto #742 and its commit
71. The plan's opening and inventory name the 2026-10-28 full-catalog
runs in both editors instead of the October 7 checkpoint.

Validation: docs only; each state read from GitHub and the run reports
on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren added a commit that referenced this pull request Nov 25, 2026
Checked against git log, the local branches and GitHub on 2026-11-04:

- Header: checked today; R6-R13 are all closed.
- R13: the command-line and attach entries said the server passes
  agent=<jar> and its jar is the agent; both now say that held until
  the agent moved into javatools. The agent entry records the CI fixes
  of the rebase (fc302da, a145de1; #693 c4f916b, 0e95701).
- LSP4IJ pull requests open: lists our three open ones, #1857 (UP67),
  #1854 (Ctrl+hover underline, LSP4IJ #1612, no UP entry) and #1858
  (docs), with the other 96 merged.
- The 0.30.0 bump branch: rebased on 2026-10-29 (tip 9cb776697c), so
  the base and tip given were stale; it needs rebasing onto today's
  errs, and its items keep their 2026-10-28 hashes, as said.
- LSP4J: #1011 (closing #1010) and #1008 merged on 2026-11-03; #1009,
  #1016 and #1017 open.
- "Not filed yet" was filed on 2026-10-28; the section says so, and
  UP17's #3728 is ticked: JetBrains pushed it to intellij-community
  master on 2026-11-03 (5079f25b88) and closed the pull request on
  2026-11-04, unreleased.
- Pull requests: #755 merged (a8d50aa) and the rebase dropped its
  copies; #693 last synchronized 2026-11-04 at c4f916b; the master
  candidates item is ticked, all decided by 2026-10-29, with #719's
  closing, #718's merge and #720's arrival on #693 said.

Every relative link and anchor in the file resolves.
lagergren added a commit that referenced this pull request Nov 25, 2026
docs/remaining.md gives each master candidate its pull request: the
weak map fix #720, also on #693 as a5e25c7, the EvalCompiler fixes
#721, native toString() #722, the Nibble fix #723, which now covers its
bits and String constructor as well, and lib_json's \u escapes #724,
found through Nibble.of()'s callers. A bug found with #724 and not
fixed is added: Char.appendEscaped() writes the first three hexits of a
\u escape as 0.

Validation: records only; each pull request's validation is in its
commit and description. The appendEscaped() output was checked on
master: 0x2028.toChar().quoted() is '\u0008'.

Limits: none of the pull requests has a review yet.
lagergren added a commit that referenced this pull request Nov 25, 2026
docs/remaining.md: #723 is merged as 80bf83f. #722 is closed after
review, since the interpreter keeps natural Ecstasy code and speed is
the JIT's; its item is declined. #717 no longer carries the UID change,
as decided on #677, which stays on this branch only. #719 replaces
#718: both fix the hang, neither test catches it, and #719 has no
debugger a host supplies, which now comes with the DAP work, and with
it the refiling of the EvalCompiler fixes. #720's and #724's review
changes are recorded, #720's with this branch's copy, 7fe6450.

Validation: records only. The hang was reproduced with a program that
runs a module with assert:debug through EmbeddingSupport and a standard
input that stays open: master waits at "Enter command:", #718 and #719
end.

Limits: none.
lagergren added a commit that referenced this pull request Nov 25, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done
(run-Pc161s, 332 of 333 with UP23's accepted X218; again on
vscode-languageclient 11.0.0); the master candidates name what merged
(#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the
one still open; #693's sync line has its rebase onto #742 and its commit
71. The plan's opening and inventory name the 2026-10-28 full-catalog
runs in both editors instead of the October 7 checkpoint.

Validation: docs only; each state read from GitHub and the run reports
on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren added a commit that referenced this pull request Nov 25, 2026
Checked against git log, the local branches and GitHub on 2026-11-04:

- Header: checked today; R6-R13 are all closed.
- R13: the command-line and attach entries said the server passes
  agent=<jar> and its jar is the agent; both now say that held until
  the agent moved into javatools. The agent entry records the CI fixes
  of the rebase (fc302da, a145de1; #693 c4f916b, 0e95701).
- LSP4IJ pull requests open: lists our three open ones, #1857 (UP67),
  #1854 (Ctrl+hover underline, LSP4IJ #1612, no UP entry) and #1858
  (docs), with the other 96 merged.
- The 0.30.0 bump branch: rebased on 2026-10-29 (tip 9cb776697c), so
  the base and tip given were stale; it needs rebasing onto today's
  errs, and its items keep their 2026-10-28 hashes, as said.
- LSP4J: #1011 (closing #1010) and #1008 merged on 2026-11-03; #1009,
  #1016 and #1017 open.
- "Not filed yet" was filed on 2026-10-28; the section says so, and
  UP17's #3728 is ticked: JetBrains pushed it to intellij-community
  master on 2026-11-03 (5079f25b88) and closed the pull request on
  2026-11-04, unreleased.
- Pull requests: #755 merged (a8d50aa) and the rebase dropped its
  copies; #693 last synchronized 2026-11-04 at c4f916b; the master
  candidates item is ticked, all decided by 2026-10-29, with #719's
  closing, #718's merge and #720's arrival on #693 said.

Every relative link and anchor in the file resolves.
lagergren added a commit that referenced this pull request Nov 25, 2026
docs/remaining.md gives each master candidate its pull request: the
weak map fix #720, also on #693 as a5e25c7, the EvalCompiler fixes
#721, native toString() #722, the Nibble fix #723, which now covers its
bits and String constructor as well, and lib_json's \u escapes #724,
found through Nibble.of()'s callers. A bug found with #724 and not
fixed is added: Char.appendEscaped() writes the first three hexits of a
\u escape as 0.

Validation: records only; each pull request's validation is in its
commit and description. The appendEscaped() output was checked on
master: 0x2028.toChar().quoted() is '\u0008'.

Limits: none of the pull requests has a review yet.
lagergren added a commit that referenced this pull request Nov 25, 2026
docs/remaining.md: #723 is merged as 80bf83f. #722 is closed after
review, since the interpreter keeps natural Ecstasy code and speed is
the JIT's; its item is declined. #717 no longer carries the UID change,
as decided on #677, which stays on this branch only. #719 replaces
#718: both fix the hang, neither test catches it, and #719 has no
debugger a host supplies, which now comes with the DAP work, and with
it the refiling of the EvalCompiler fixes. #720's and #724's review
changes are recorded, #720's with this branch's copy, 7fe6450.

Validation: records only. The hang was reproduced with a program that
runs a module with assert:debug through EmbeddingSupport and a standard
input that stays open: master waits at "Enter command:", #718 and #719
end.

Limits: none.
lagergren added a commit that referenced this pull request Nov 25, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done
(run-Pc161s, 332 of 333 with UP23's accepted X218; again on
vscode-languageclient 11.0.0); the master candidates name what merged
(#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the
one still open; #693's sync line has its rebase onto #742 and its commit
71. The plan's opening and inventory name the 2026-10-28 full-catalog
runs in both editors instead of the October 7 checkpoint.

Validation: docs only; each state read from GitHub and the run reports
on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren added a commit that referenced this pull request Nov 25, 2026
Checked against git log, the local branches and GitHub on 2026-11-04:

- Header: checked today; R6-R13 are all closed.
- R13: the command-line and attach entries said the server passes
  agent=<jar> and its jar is the agent; both now say that held until
  the agent moved into javatools. The agent entry records the CI fixes
  of the rebase (fc302da, a145de1; #693 c4f916b, 0e95701).
- LSP4IJ pull requests open: lists our three open ones, #1857 (UP67),
  #1854 (Ctrl+hover underline, LSP4IJ #1612, no UP entry) and #1858
  (docs), with the other 96 merged.
- The 0.30.0 bump branch: rebased on 2026-10-29 (tip 9cb776697c), so
  the base and tip given were stale; it needs rebasing onto today's
  errs, and its items keep their 2026-10-28 hashes, as said.
- LSP4J: #1011 (closing #1010) and #1008 merged on 2026-11-03; #1009,
  #1016 and #1017 open.
- "Not filed yet" was filed on 2026-10-28; the section says so, and
  UP17's #3728 is ticked: JetBrains pushed it to intellij-community
  master on 2026-11-03 (5079f25b88) and closed the pull request on
  2026-11-04, unreleased.
- Pull requests: #755 merged (a8d50aa) and the rebase dropped its
  copies; #693 last synchronized 2026-11-04 at c4f916b; the master
  candidates item is ticked, all decided by 2026-10-29, with #719's
  closing, #718's merge and #720's arrival on #693 said.

Every relative link and anchor in the file resolves.
lagergren added a commit that referenced this pull request Nov 26, 2026
docs/remaining.md gives each master candidate its pull request: the
weak map fix #720, also on #693 as a5e25c7, the EvalCompiler fixes
#721, native toString() #722, the Nibble fix #723, which now covers its
bits and String constructor as well, and lib_json's \u escapes #724,
found through Nibble.of()'s callers. A bug found with #724 and not
fixed is added: Char.appendEscaped() writes the first three hexits of a
\u escape as 0.

Validation: records only; each pull request's validation is in its
commit and description. The appendEscaped() output was checked on
master: 0x2028.toChar().quoted() is '\u0008'.

Limits: none of the pull requests has a review yet.
lagergren added a commit that referenced this pull request Nov 26, 2026
docs/remaining.md: #723 is merged as 80bf83f. #722 is closed after
review, since the interpreter keeps natural Ecstasy code and speed is
the JIT's; its item is declined. #717 no longer carries the UID change,
as decided on #677, which stays on this branch only. #719 replaces
#718: both fix the hang, neither test catches it, and #719 has no
debugger a host supplies, which now comes with the DAP work, and with
it the refiling of the EvalCompiler fixes. #720's and #724's review
changes are recorded, #720's with this branch's copy, 7fe6450.

Validation: records only. The hang was reproduced with a program that
runs a module with assert:debug through EmbeddingSupport and a standard
input that stays open: master waits at "Enter command:", #718 and #719
end.

Limits: none.
lagergren added a commit that referenced this pull request Nov 26, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done
(run-Pc161s, 332 of 333 with UP23's accepted X218; again on
vscode-languageclient 11.0.0); the master candidates name what merged
(#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the
one still open; #693's sync line has its rebase onto #742 and its commit
71. The plan's opening and inventory name the 2026-10-28 full-catalog
runs in both editors instead of the October 7 checkpoint.

Validation: docs only; each state read from GitHub and the run reports
on 2026-10-29; spotlessCheck and git diff --check pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants