Stdlib index
- Captured-borrow migration worklist (3.3.3)
- Owned-bind migration worklist (8.2.7)
- Return-side title audit — the ride-through enumeration
- stdlib ownership audit
- stdlib ownership dispositions (plan 1.3.1 / 4.3.1)
codec
codec / csv
codec / json
collection
- ArrayList
- BPlusTree
- Cache
- Collectors
- HashMap
- HashSet
- Heap
- ImmutableList
- ImmutableMap
- ImmutableSet
- LinkedList
- RedBlackTree
- Sort
collection / ltm
concurrent
error
gfx
hash
ifx
io
io / file
io / net
io / net / dns
io / net / tls
io / net / uri
lang
lang / stream
math
math / fft
math / linalg
math / npio
math / poly
math / random
math / stats
nucleo
- Columns — the Arrow-laid-out substrate
- Fused tensor expressions — Fuse
- Table — the lazy, typed dataframe
- Tape — define-by-run autograd
- Transform intrinsics — Grad, Vmap, Jit
process
reflect
search / distance
search / fuzzy
search / ngram
session
time
- Clock
- DateTimeFormatter
- Duration
- Instant
- LocalDate
- LocalDateTime
- LocalTime
- Period
- ZonedDateTime
- ZoneId
- ZoneOffset
wire
xpu
xpu / mesh
Captured-borrow migration worklist (3.3.3)
30 distinct capture sites across 25 methods in 25 classes.
Generated by tools/ownership/report_captured_borrows.py from a CAJETA_CAPTURED_BORROW=warn harvest. Each row is a plain (=) store of a borrowed parameter into a field or element — the callee keeping what the caller only lent.
The three sanctioned fixes, in the order to try them:
#Ton the parameter — the API really does keep the value, so say so and make every call site surrender it.#=on the store — the type is a SINK whose caller chooses per call (theArrayList.addmodel, spec §2.3). No signature change; the store form is the opt-out.- copy — the API keeps a value it was only shown.
Coverage
Only what these builds compiled. A class no build reached is a class nobody measured — not a class with no captures.
build/captured-borrow-harvest/cajeta-codec.stderrbuild/captured-borrow-harvest/cajeta-http.stderrbuild/captured-borrow-harvest/cajeta-logging.stderrbuild/captured-borrow-harvest/cajeta-ml.stderrbuild/captured-borrow-harvest/cajeta-timeseries.stderr
Sites
dev.cajeta.ml.io.Unpickler — 4
| method | line | parameter | into | type |
|---|---|---|---|---|
Unpickler | 57 | raw | field raw | int8[] |
Unpickler | 60 | entryNames | field entryNames | cajeta.collection.ArrayList |
Unpickler | 61 | entryOffsets | field entryOffsets | cajeta.collection.ArrayList |
Unpickler | 62 | entrySizes | field entrySizes | cajeta.collection.ArrayList |
dev.cajeta.http.body.GzipCompressChannel — 2
| method | line | parameter | into | type |
|---|---|---|---|---|
GzipCompressChannel | 44 | src | field src | cajeta.io.net.AsyncReader |
GzipCompressChannel | 58 | src | field src | cajeta.io.net.AsyncReader |
dev.cajeta.ml.data.Batches — 2
| method | line | parameter | into | type |
|---|---|---|---|---|
Batches | 46 | x | field x | cajeta.math.Tensor |
Batches | 47 | y | field y | cajeta.math.Tensor |
cajeta.math.TensorProtocol — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
TensorProtocol | 51 | base | field baseStore | cajeta.lang.Object |
cajeta.nucleo.frame.AggResult — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
setStr | 53 | v | element of sv | cajeta.lang.String |
cajeta.nucleo.frame.DynFrame — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
addIndexed | 83 | name | element of indexed | cajeta.lang.String |
dev.cajeta.codec.avro.AvroContainer — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
AvroContainer | 36 | b | field b | int8[] |
dev.cajeta.codec.avro.AvroCursor — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
AvroCursor | 16 | b | field b | int8[] |
dev.cajeta.codec.compress.Deflate — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
Deflate | 39 | src | field src | int8[] |
dev.cajeta.codec.ion.IonCursor — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
IonCursor | 29 | b | field b | int8[] |
dev.cajeta.codec.ion.IonWriter — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
intern | 269 | name | element of locals | cajeta.lang.String |
dev.cajeta.codec.orc.OrcRleV2 — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
OrcRleV2 | 21 | src | field src | int8[] |
dev.cajeta.codec.parquet.ThriftCompactReader — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
ThriftCompactReader | 44 | b | field b | int8[] |
dev.cajeta.codec.protobuf.ProtobufCursor — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
ProtobufCursor | 21 | b | field b | int8[] |
dev.cajeta.http.body.BytesChannel — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
BytesChannel | 27 | data | field data | int8[] |
dev.cajeta.http.h2.HpackReader — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
HpackReader | 22 | buf | field buf | int8[] |
dev.cajeta.http.h2.Http2Connection — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
Http2Connection | 70 | reader | field reader | cajeta.io.net.AsyncReader |
dev.cajeta.http.h2.Http2FrameReader — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
Http2FrameReader | 31 | buf | field buf | int8[] |
dev.cajeta.http.h2.Http2WriteSide — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
Http2WriteSide | 38 | writer | field writer | cajeta.io.net.AsyncWriter |
dev.cajeta.http.server.HttpServerBuilder — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
model | 1748 | model | field model | cajeta.io.net.ServerModel |
dev.cajeta.http.server.RequestBodyChannel — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
RequestBodyChannel | 29 | stream | field stream | dev.cajeta.http.server.RequestBodyStream |
dev.cajeta.http.server.RequestBodyStream — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
RequestBodyStream | 101 | reader | field reader | cajeta.io.net.AsyncReader |
dev.cajeta.http.server.ResponseBodyWriter — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
ResponseBodyWriter | 72 | writer | field writer | cajeta.io.net.AsyncWriter |
dev.cajeta.http.ws.WebSocketConnection — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
WebSocketConnection | 21 | ws | field ws | dev.cajeta.http.ws.WebSocket |
dev.cajeta.ml.train.BackpropTrainer — 1
| method | line | parameter | into | type |
|---|---|---|---|---|
BackpropTrainer | 49 | net | field net | dev.cajeta.ml.nn.Module |