JDK-8298610 : Refactor archiving of ConstantPool::resolved_references()
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: New
  • Resolution: Unresolved
  • Submitted: 2022-12-12
  • Updated: 2022-12-12
Description
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.