Rev 910 |
Compare with Previous |
Directory listing |
Details |
Blame |
View Log
| RSS feed
Last modification
- Rev 0 – 5749 d 13 h
- Author: mhunt
- Log message:
- DevTools/buildtool: Checkin by Svn Import
Performance improvements:
1. Use a second ReentrantLock/database Connection for planning builds. This is because the global select for update locking mechanism (i.e. limits the planning phase to 1 master thread at any one time, across all build machines) has been found to starve non planning database connection usage.
2. Use a third ReentrantLock for master threads with a low priority planning requirement. By that, if the previous planning session did not yield a build requirement, the subsequent planning session will be low priority. Through this mechanism, the number of master threads with a low priority planning requirement using the second ReentrantLock/database Connection for planning builds is limited to 1. This ensures master threads with a high priority planning requirement are very likely to plan and deliver a build sooner.