MallocArrayAllocator::free should not take a length parameter

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 11
    • Affects Version/s: 11
    • Component/s: hotspot
    • None
    • b10

      Instead of using the NEW_C_HEAP_ARRAY macros, we could start to use the ArrayAllocator classes.

      However, unlike FREE_C_HEAP_ARRAY MallocArrayAllocator::free requires the length to be passed as an argument. This makes MallocArrayAllocator a bit more awkward to use.

            Assignee:
            Stefan Karlsson
            Reporter:
            Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: