oopDesc::is_archive_object has a hard-coded dependency to G1, just like other CDS Archive code. I propose that we move is_archive_object to MetsapceShared where other CDS Archive code is located. That way we at least contain the explicit G1 code to that part of the VM.
Later on we should probably create a GC interface for the CDS Archive system.
Later on we should probably create a GC interface for the CDS Archive system.