Commit graph

117 commits

Author SHA1 Message Date
b794f225b2 refactor: xo-gc: + GCObjectVisitor.generation_of()
Concession to narrow MutationLogStore to only use GCObjectVisitor
instead of assuming X1Collector.
2026-04-06 23:18:45 -04:00
cb87e78cd8 xo-gc stack: refactor: + alloc_info() method
replicated form AAllocator facet
2026-04-06 17:15:30 -04:00
3489699f5d refactor: use GCObjectVisitor api w/ gco_shallow_move 2026-04-06 15:21:48 -04:00
db4ccfd911 refactor: make shallow_move() available from AGCObjectVisitor 2026-04-06 00:11:08 -04:00
90ab86f69c refactor: + narrower interface for gc pointer forwarding
add AGCObjectVisitor, instead of requiring ACollector.
2026-04-05 23:53:02 -04:00
df0bbe1b31 xo-gc stack: refactor: introduce GCObjectVisitor facet
Plan using to properly level GCObjectStore and MutationLogStore
below Collector.

[WIP] not used yet
2026-04-05 18:07:14 -04:00
8f360b74e2 refactor: retire GCObject.shallow_size()
Not needed.  Rely on size stored in gc-owned object header
2026-04-04 17:30:03 -04:00
fefb15fbad refactor: void return type for Collector.forward_children() 2026-04-04 16:54:46 -04:00
4ddef4fb29 refactor: rename RCollector.std_copy_for -> std_move_for 2026-04-04 16:37:17 -04:00
4e4687bc2a refactor: rename shallow_copy -> shallow_move + streamline
Use RCollector.std_copy_for where appropriate
2026-04-04 16:33:35 -04:00
46c1efa952 refactor: rename GCObject.shallow_copy -> shallow_move
resolve conflict since relying on move constructor in std_copy_for
2026-04-04 15:00:53 -04:00
353de0725a xo-alloc2: Use move semantics for std_copy_for
Prep for moving to ACollector interface
2026-04-04 14:38:57 -04:00
b88d181906 refactor: make AGCObject.shallow_copy() non-const
prep for moving to ACollector interface
2026-04-04 14:38:14 -04:00
ea734fb3f4 xo-gc stack: + ACollector.shallow_copy() 2026-04-03 18:33:09 -04:00
47b0a56830 xo-alloc2: tidy: generation.hpp -> Generation.hpp 2026-04-03 00:04:34 -04:00
c91fc4fbed xo-procedure2 stack: + report-gc-object-ages() primitive 2026-03-30 14:51:51 -04:00
909c1e485a xo-gc stack: + gc-location-of() primitive 2026-03-29 19:47:15 -04:00
b8e7ff8b7a xo-gc stack: + gc-report-object-types() primitive 2026-03-29 17:19:23 -04:00
3a263d7f98 xo-gc stack: + request-gc-statistics() primitive
1. xo-gc now depends on xo-object2.
2. use genfacet for ICollector_DX1Collector
3. moves xo-gc utest previously in xo-object2 to more natural
   location in xo-gc/
2026-03-29 13:44:19 -04:00
ece5fdb032 xo-alloc2: in forward_inplace() helper strip const for facet lookup 2026-03-28 13:17:16 -04:00
53afef9626 xo-gc stack: genfacet for Collector + facet registry bugfix 2026-03-27 22:33:21 -04:00
417ec9de13 xo-alloc2: + ACollector2
temporary, planning to codegen Collector facet
2026-03-27 20:56:46 -04:00
ec1b6173d9 xo-gc stack: + contains() method 2026-03-26 14:58:14 -04:00
68f04870bf xo-alloc2: abox: fix for non-anonymous abox instances 2026-03-26 14:57:15 -04:00
8aa718695c xo-gc: generation -> Generation + bugfix idle test 2026-03-26 11:30:16 -04:00
95add0cc0e xo-alloc2: abox: nice message on alloc fail 2026-03-25 21:12:23 -04:00
99f5fd9c5e xo-procedure: + set-car primitive 2026-03-25 00:10:42 -04:00
f056faa0db xo-gc: + ACollector.assign_member() 2026-03-24 22:11:25 -04:00
68999ace48 xo-alloc2: + release() method for dp<T> 2026-03-24 17:45:09 -04:00
e6f397af73 xo-stringtable2: + is_gc_eligible() comptime flag 2026-03-24 17:37:27 -04:00
8a490c23ce xo-alloc2: + missing setup .*pp files 2026-03-16 19:12:31 -05:00
4a2bbd0761 xo-alloc2: streamline setup 2026-03-16 19:12:09 -05:00
f3f8505a65 xo-interpreter2 stack: refactor + bugfix operator expr 2026-03-12 20:26:08 -05:00
af0be72853 xo-object2 stack: refactor/tidy after GCObject -> alloc2 2026-03-05 20:11:05 +11:00
3bdf617f14 xo-interpreter2 stack: refactor: string clases -> xo-stringtable2/ 2026-03-05 13:02:12 +11:00
ee982276c9 refactor: + xo-stringtable2 w/ DString impl 2026-03-05 00:50:58 +11:00
e33ab0ae98 xo-gc xo-alloc2: move Collector faceet gc/ -> alloc2/ for levelling 2026-03-04 22:26:31 +11:00
fde4bee000 xo-interpreter2 stack: define-expr's work at top-level 2026-02-17 14:42:17 -05:00
b87a058ae9 xo-interpreter2 stack: OUTPUT_CPP_DIR cmake->idl/ 2026-02-16 17:46:51 -05:00
19adf834ad xo-alloc2: register DArena facet + subsystem init 2026-02-16 09:31:49 -05:00
d9ae2767fc xo-reader2 stack: streamline + mem sizing + bugfixes 2026-02-15 16:16:02 -05:00
9a9727ff98 xo-expression2 stack: + dp<> template + robustify DGlobalSymtab 2026-02-15 14:12:31 -05:00
230490e663 xo-alloc2: + RAllocator.alloc_copy_for convenience method 2026-02-15 14:09:52 -05:00
b073315c3b xo-alloc2: + abox convenience template: arena box 2026-02-15 13:12:07 -05:00
97d4450865 xo-alloc2: extend alloc_for<T> to accept explicit size 2026-02-15 13:07:10 -05:00
f209f7343c xo-gc stack: streamline object pointer forwarding 2026-02-13 15:15:08 -05:00
bf052879c8 xo-reader2: apply expr now parses up to rightparen 2026-02-12 00:02:56 -05:00
675fe3d6c3 xo-interpreter2 stack: scaffold DClosure, DLocalEnv [WIP] 2026-02-04 19:17:07 -05:00
3c53d92735 xo-interpreter2 .. xo-arena. memory pool introspection 2026-02-03 01:05:36 -05:00
9a2370e362 xo-interpreter2: scaffold repl + alloc measurement frameowkr 2026-02-02 21:55:34 -05:00