Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5973

org.apache.jasper.runtime.BodyContentImpl memory leaking when using JSTL Simple tag what having body is scriptless

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Critical Critical
    • 10.0.0.CR1
    • 9.0.2.Final
    • Web (Undertow)
    • None

      – Create any JSTL Simple tag (SimpleTagSupport) that having body is scriptless
      – Create a JSP using the Simple tag
      – Request the JSP multi time
      – Using visualvm 1.3.8 to monitor the allocations of org.apache.jasper.runtime.BodyContentImpl --> You will see a lot of instance of BodyContentImpl created

      – Click on Perform GC on VisualVM --> The remainging BodyContentImpl didn't go down to ZERO ---> Leaking memory

      – Did the same test using Glashfish 4 --> When click on Perform GC --> BodyContentImpl went down to Zero --> No leaking memory.

              tomazcerar Tomaž Cerar (Inactive)
              haducloc Loc Ha (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: