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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 10
    • 9
    • hotspot
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved: