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

VM_PopulateDumpSharedSpace::doit() uses malloc to allocate a temporary buffer

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      A temporary buffer to hold the old state of the vtbl_list for later restoration is presently allocated using malloc. It seems like this could instead be resource allocated, or possibly even stack allocated, since the needed size is a not especially large constant.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kbarrett Kim Barrett
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: