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

ImportELResolver performance improvement

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Web (Undertow)
    • None
    • ---
    • ---

      Tags with optional attributes with null values can see degraded performance requests predominantly in ImportELResolver's ImportHandler.resolveClass calls:

      "default task-10" #157 prio=5 os_prio=0 cpu=2098.07ms elapsed=21.51s tid=0x0000562376ddf800 nid=0x37ded runnable  [0x00007f15ab838000] java.lang.Thread.State: RUNNABLE at java.lang.Class.forName0(java.base@11.0.20/Native Method) at java.lang.Class.forName(java.base@11.0.20/Class.java:398) at jakarta.el.ImportHandler.getClassFor(ImportHandler.java:169) at jakarta.el.ImportHandler.resolveClassFor(ImportHandler.java:145) at jakarta.el.ImportHandler.resolveClass(ImportHandler.java:109) at jakarta.servlet.jsp.el.ImportELResolver.getValue(ImportELResolver.java:62) at org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:123) at org.glassfish.expressly.parser.AstIdentifier.getValue(AstIdentifier.java:97) at org.glassfish.expressly.ValueExpressionImpl.getValue(ValueExpressionImpl.java:138) at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:925) at org.apache.jsp.test_jsp._jspService(test_jsp.java:1077) 
      

      This will not be fixed directly in Wildfly, but we need to push for an improvement in the jakartaee pages project that we can consume:

      https://github.com/jakartaee/pages/issues/245

              flaviarnn Flavia Rainone
              rhn-support-aogburn Aaron Ogburn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: