ReferenceQueue
A simple mimic of Java's java.lang.ref.ReferenceQueue.
This implementation is a minimal, non‑blocking version that only mimics the API. It stores enqueued references in an internal list and ignores the concurrency, waiting, and GC‑integration that the real Java version provides.