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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 25
    • 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().

            ccheung Calvin Cheung
            ccheung Calvin Cheung
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: