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

Memory leak in Type::hashcons

XMLWordPrintable

    • b04

        In http://hg.openjdk.java.net/jdk/jdk/file/8e0ae3830fca/src/hotspot/share/opto/type.cpp#l734
        We allocate a new type in `xdual()` (line 732) but if the type is self symmetric we just discard it without calling `delete` in line 734.
        Of course, it's only a leak in the per-compilation arena but it should still be fixed.

              thartmann Tobias Hartmann
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: