This code is mostly old and untested at this point. Lots of additional code has been added that holds instances where it shouldn't. And nobody is going to be compiling a version specifically with this enabled.
New approach will be to just start fixing places where class references are held where they shouldn't be by default. If a -Xnoclassgc option is readded in the future, we'll special case that to hold onto classes seperately.
This code is mostly old and untested at this point. Lots of additional code has been added that holds instances where it shouldn't. And nobody is going to be compiling a version specifically with this enabled.
New approach will be to just start fixing places where class references are held where they shouldn't be by default. If a -Xnoclassgc option is readded in the future, we'll special case that to hold onto classes seperately.