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

Potential memory leak in TypedMethodOptionMatcher

    XMLWordPrintable

Details

    • b26

    Description

      TypedMethodOptionMatcher owns ccstr value (vs. os::strdup_check_oom()), but never frees it in destructor.

      It does not appear to a real issue so far, because TypedMethodOptionMatcher seems immortal. Given it releases _option string, it should also release ccstr value.

      Attachments

        Issue Links

          Activity

            People

              zgu Zhengyu Gu
              zgu Zhengyu Gu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: