In referenceProcessor.cpp, we have this assert:
assert(UseConcMarkSweepGC || UseG1GC,
"Only possible with a concurrent marking collector");
This should not check specific GC, but rather some property. It might be _discovery_is_atomic, but it needs to be verified.
assert(UseConcMarkSweepGC || UseG1GC,
"Only possible with a concurrent marking collector");
This should not check specific GC, but rather some property. It might be _discovery_is_atomic, but it needs to be verified.