Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0.1
-
linux jdk1.7 b25 and b55.
Description
Problem:
Session.logout was observed to take 14% of time in a performance test of a reasonably real-world load.
Method:
Use the attached sling junit test case to run 8 concurrent instances of the test. profile with YourKit or similar and see >50% time taken by logout.
Expected:
Logout should be practically free.
Solution:
The attached patch avoids a bug in guava-15 (still present in guava-17 the latest) where the former use of addCallback triggered many CancellationExceptions when sessions were quickly created and logged out.
Attachments
Attachments
Issue Links
- is related to
-
OAK-9959 RepositoryImpl.shutdown() takes way too long in case of unclosed Sessions
- Closed