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

[C2] Memory leaks during tracing after "8224193: stringStream should not use Resource Area".

    Details

    • Subcomponent:
    • Resolved In Build:
      b29

      Backports

        Description

        PrintInlining and TraceLoopPredicate allocate stringStreams with new and relied on the fact that all memory used is on the ResourceArea cleaned after the compilation.

        Since 8224193 the char* of the stringStream is malloced and thus must be freed. No doing so manifests a memory leak.

        This is only relevant if the corresponding tracing is active.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  goetz Goetz Lindenmaier
                  Reporter:
                  goetz Goetz Lindenmaier
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: