Project

Profile

Help

Bug #3289

closed

Performance bottleneck in SystemFunctionLibrary

Added by William McCusker almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Sprint/Milestone:
-
Start date:
2017-06-19
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
9.7
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

When an application attempts to create many new paths in parallel they get blocked by SystemFunctionLibrary.getSystemFunctionLibrary which is synchronized. Even after the cache in "THE_INSTANCES" is built threads creating new paths still get bottlenecked by the synchronization.

One option would be to remove the synchronization and use a concurrent map to ensure all callers use the same objects. Attached is such a potential change to SystemFunctionLibrary


Files

SystemFunctionLibrary.java (9.8 KB) SystemFunctionLibrary.java Class using concurrent map William McCusker, 2017-06-19 20:30

Please register to edit this issue

Also available in: Atom PDF