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

Call prepare_for_dynamic_dumping for jcmd dynamic_dump

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      17
    • Resolved In Build:
      b06

      Description

      MetaspacesShared::link_and_cleanup_shared_classes is called for both static and dynamic dump, both cases exit after dump. jcmd VM.cds static_dump will start a separate process for dump, it is similar to regular static dump, the target process still continue run as normal. Nevertheless, jcmd dynamic_dump dump archive inside the target process, so we didn't call the function to avoid any data inconsistency. We need to check further the possibility to call this method and also the regeneration of lambda form invokers' holder classes for jcmd dynamic case.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              minqi Yumin Qi
              Reporter:
              minqi Yumin Qi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: