Lucee
Lucee copied to clipboard
LDEV-3854 - Performance/page spool lock contention
Rewrote the PageSpool code to rely on java8 atomic operations, this allows to remove the synchronized that were all over the place, reducing contention.
Furthermore, the cleanup has been implemented with an high / low watermark and compare and swap, to avoid removing a page that has just been regenerated.
https://luceeserver.atlassian.net/browse/LDEV-3854 (was https://luceeserver.atlassian.net/browse/LDEV-2904)
https://dev.lucee.org/t/blocked-requests-each-minute-on-5-3-8-x-under-load/8943