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

Memory leak in Type::hashcons

    Details

    • Subcomponent:
    • Resolved In Build:
      b04

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: