[Bug 69532] Performance optimization in Util.getExpressionFactory()

2025-02-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69532 Matafagafo changed: What|Removed |Added CC||matafag...@gmail.com -- You are receivin

[Bug 69532] Performance optimization in Util.getExpressionFactory()

2025-02-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69532 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 69532] Performance optimization in Util.getExpressionFactory()

2025-01-30 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69532 --- Comment #8 from John Engebretson --- Created attachment 39986 --> https://bz.apache.org/bugzilla/attachment.cgi?id=39986&action=edit Proposed patch v2 Updated patch attached - added AL text, reduced class visibility, cleaned up a workspa

[Bug 69532] Performance optimization in Util.getExpressionFactory()

2025-01-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69532 --- Comment #7 from Mark Thomas --- I like it. I do have a couple of minor comments: - ExpressionFactoryCache needs to be package private. It can't be public as we aren't allowed to add classes to the public API of a specification package. -

[Bug 69532] Performance optimization in Util.getExpressionFactory()

2025-01-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69532 --- Comment #6 from John Engebretson --- This patch also reduces the runtime of the existing perf test TestELParserPerformance.testExpressions() by about 15-20%, and heap usage by 25%. Hopefully it is indeed thread safe? -- You are receiving

[Bug 69532] Performance optimization in Util.getExpressionFactory()

2025-01-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69532 --- Comment #5 from John Engebretson --- Created attachment 39979 --> https://bz.apache.org/bugzilla/attachment.cgi?id=39979&action=edit Tomcat 9 proposed patch I've attached a patch that improves on the current state in lots of ways: 1. No

[Bug 69532] Performance optimization in Util.getExpressionFactory()

2025-01-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69532 --- Comment #4 from John Engebretson --- Interestingly, ExpressionFactory.newInstance() uses the same locking logic as Util.getExpressionFactory(). Looks like a copy-and-modify from one to the other. -- You are receiving this mail because: Y

[Bug 69532] Performance optimization in Util.getExpressionFactory()

2025-01-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69532 --- Comment #3 from Mark Thomas --- Looking at the history, I think Konstantin deserves the credit for the original design rather than me. Given the current implementation maintains a TCCL->class name Map and a TTCL->ExpressionFactory Map, I d

[Bug 69532] Performance optimization in Util.getExpressionFactory()

2025-01-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69532 --- Comment #2 from John Engebretson --- You're probably right about the history. An AtomicReference might help here. -- You are receiving this mail because: You are the assignee for the bug. -

[Bug 69532] Performance optimization in Util.getExpressionFactory()

2025-01-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69532 Remy Maucherat changed: What|Removed |Added OS||All --- Comment #1 from Remy Mauchera