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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b08

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              mgerdin Mikael Gerdin (Inactive)
              Reporter:
              mgerdin Mikael Gerdin (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: