3 ms·
So given that the JDK is open source and dotnet is open source, would it be possible to port Shenandoah? It is my understanding that D's garbage collector isn'
by stonemetal12 5y ago
So given that the JDK is open source and dotnet is open source, would it be possible to port Shenandoah?
It is my understanding that D's garbage collector isn't that good, could they pick up an OpenJDK collector?
- kaba0 5y agoI am unfortunately not an OpenJDK dev (but would really like to become one down the road), but afaik a GC is way too dependent on the internals of the runtime. The JVM has a very different object structure. Also, I think D allows for pointers which is a no-go with compacting GCs (as those move objects around). So all in all, the algorithm used itself can be ported, but it has many runtime specific logic, which is just as important for great performance.