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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • 10
    • Affects Version/s: 9
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: