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

[solaris] Memory Leak in native part of java.util.TimeZone

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • None
    • 9
    • core-libs
    • None

      Code review at SAP revealed a small memory leak in TimeZone_md.c:

       685 #ifdef __solaris__
       686 if (tz != NULL && strcmp(tz, "localtime") == 0) {
       687 tz = getSolarisDefaultZoneID();
       >> here we leak freetz on solaris <<
       688 freetz = tz;
       689 }
       690 #endif

      See http://mail.openjdk.java.net/pipermail/jdk9-dev/2015-August/002554.html

      Thanks to Christoph Langer for finding this.

            Unassigned Unassigned
            stuefe Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: