The lcp variable is used after freed in AOTClassLocationConfig::dumptime_init_helper()

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 25
    • Component/s: hotspot

      Code in question:

      https://github.com/openjdk/jdk/blob/master/src/hotspot/share/cds/aotClassLocation.cpp#L491-L495

      The os::free() should be after the log_info().

            Assignee:
            Calvin Cheung (Inactive)
            Reporter:
            Calvin Cheung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: