Community
Participate
Working Groups
In order to make critical sections thread safe, we currently lock access using single synchronized blocks for read and write access. Performance in these areas could benefit from differenciating between read and write access and use distinct locks. If it turns out that performce gains can be made, I see two options: * org.eclipse.equinox.registry has an internal ReadWriteMonitor that we could adopt * Java 1.5 provides the ReentrantReadWriteLock (depends on bug bug 340310)
Q: Could you also please consider making is so the editors themselved son't block at all, perhpas by giving them a seperate thread so the user can save and edit files without ever waiting on the IDE?
The ReentrantReadWriteLock has been used in the most sensitive place with change https://git.eclipse.org/r/#/c/63150/.