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

BitMap::resize frees old map before copying memory if !in_resource_area

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • gc
    • b08

        BitMap::resize calls _map_allocator.free() before copying the BitMap data to the newly allocated backing memory.
        The code path with growing an existing BitMap and !in_resource_area is currently not reachable by the code but it should be fixed nevertheless.

              mgerdin Mikael Gerdin (Inactive)
              mgerdin Mikael Gerdin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: