The current implementation of ConstantPool::archive_resolved_references() requires the use of "archived oops" via the HeapShared::find_archived_heap_object API: https://github.com/openjdk/jdk/blob/be69930d9d72fe5b1c2b642943cc7d4347979ca6/src/hotspot/share/oops/constantPool.cpp#L259-L294 This violates requirement [1] of JDK-8298600 and should be refactored.