-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
area-System.Text.RegularExpressionsenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additionstenet-performancePerformance related issuePerformance related issue
Milestone
Description
Static Regex methods takes global lock on "s_livecode" inside LookupCachedAndUpdate. This cause scalability issues. We understand that this problem could be addressed on App side, but imho it would be much better to make Regex cache per processor instead of global (similar to what @stephentoub did for Timer lock), so it will be more forgiving for bad coding practice.
We would also participate back port to Desktop framework if this ever get fixed.
Metadata
Metadata
Assignees
Labels
area-System.Text.RegularExpressionsenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additionstenet-performancePerformance related issuePerformance related issue