RFR: 8354016: Update ReentrantReadWriteLock documentation to reflect its new max capacity [v2]

Viktor Klang vklang at openjdk.org
Tue Apr 8 10:11:45 UTC 2025


On Tue, 8 Apr 2025 10:08:26 GMT, Viktor Klang <vklang at openjdk.org> wrote:

>> Updating the ReentrantReadWriteLock documentation
>
> Viktor Klang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update src/java.base/share/classes/java/util/concurrent/locks/ReentrantReadWriteLock.java
>   
>   Removing space

src/java.base/share/classes/java/util/concurrent/locks/ReentrantReadWriteLock.java line 211:

> 209:  *
> 210:  * <p>This lock supports a maximum of {@link Integer#MAX_VALUE} recursive write locks
> 211:  * and {@link Integer#MAX_VALUE } read locks. Attempts to exceed these limits result in

Suggestion:

 * and {@link Integer#MAX_VALUE} read locks. Attempts to exceed these limits result in

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/24502#discussion_r2032856765


More information about the core-libs-dev mailing list