In fact there are tons of GC implementations across all Java implementations, including reference counting.
For example, "An on-the-fly reference-counting garbage collector for java"
https://dl.acm.org/doi/10.1145/1111596.1111597
And here is one for Go.
https://github.com/sendilkumarn/gopurerc
In fact there are tons of GC implementations across all Java implementations, including reference counting.
For example, "An on-the-fly reference-counting garbage collector for java"
https://dl.acm.org/doi/10.1145/1111596.1111597
And here is one for Go.
https://github.com/sendilkumarn/gopurerc