Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8308236

Remove SystemDictionaryShared::clone_dumptime_tables()

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 21
    • None
    • hotspot
    • b24

    Description

      This function was add in JDK-8264735 "Make dynamic dump repeatable". It was necessary because each time we used "jcmd $PID VM.cds dynamic_dump" to connect to a JVM process, the pointers inside SystemDictionaryShared::_dumptime_table would be patched by the relocation code, making it impossible to dump repeatedly in the same process.

      Since JDK-8307567 "Avoid relocating global roots to metaspaceObjs in CDS dump", the pointers in _dumptime_table are no longer patched during dumping. Therefore, the cloning/restoring logic is no longer necessary and can be removed.

      Attachments

        Issue Links

          Activity

            People

              iklam Ioi Lam
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: