Commit 6c45f5f
committed
Reimplement Vector with Java-style Object[] array instead of Rust Vec
Replace the Rust Arc<Mutex<Vec>> backing with proper Java fields
(elementData, elementCount, capacityIncrement) and array operations,
matching Java's actual Vector implementation. Remove the Vector-specific
GC hack since the generic field traversal now handles it.1 parent b45ea00 commit 6c45f5f
3 files changed
Lines changed: 187 additions & 101 deletions
File tree
- java_runtime/src/classes/java/util
- jvm
- src
- tests
0 commit comments