-
Bug
-
Resolution: Fixed
-
Low
-
7.6.0, 7.2.13, 7.7.4, 7.13.0, 7.12.2, 7.12.3, 7.6.10
-
7.02
-
3
-
Severity 2 - Major
-
11
-
-
Summary
Method com.atlassian.jira.sharing.DefaultShareManager#isSharedWith performs call sharedEntity.getOwner() two times.
Suggest fix
Reuse the result
Note
- Method profiling
7.82% [90/1151]\ at com.atlassian.jira.sharing.DefaultShareManager.isSharedWith(DefaultShareManager.java:64) 7.82% [90/1151] \ at com.atlassian.jira.issue.search.SearchRequest.getOwner(SearchRequest.java:191) 5.39% [62/1151]\ at com.atlassian.jira.sharing.DefaultShareManager.isSharedWith(DefaultShareManager.java:65) 5.39% [62/1151] \ at com.atlassian.jira.issue.search.SearchRequest.getOwner(SearchRequest.java:191) 3.04% [35/1151]\ at com.atlassian.jira.sharing.DefaultShareManager.isSharedWith(DefaultShareManager.java:75)
- Note:
- isSharedWith(DefaultShareManager.java:64) -> getOwner
- isSharedWith(DefaultShareManager.java:65) -> getOwner
- causes
-
JSWSERVER-16130 Performance of findRapidViewsByProject degrades with number of Boards
- Closed
- is cloned from
-
JRASERVER-68564 Copying of SearchRequest performs user search
- Closed
- is related to
-
JRASERVER-68576 Improve performance of com.atlassian.jira.issue.search.SearchRequest getOwner
- Gathering Interest
- relates to
-
JRASERVER-71058 High contention in reading java.lang.ThreadLocal variables due to large number of ThreadLocalMap$Entry elements
- Closed
(2 mentioned in)