The PR improve current testing support for the class: - https://github.com/spring-projects/spring-framework/blob/main/spring-core/src/main/java/org/springframework/util/ConcurrentLruCache.java - https://github.com/spring-projects/spring-framework/blob/main/spring-core/src/test/java/org/springframework/util/ConcurrentLruCacheTests.java
Adding JCStress support for the class ConcurrentLruCache
:
https://github.com/openjdk/jcstress
How to test it:
./gradlew clean jcstress --tests "ConcurrentLruCacheJCStressTests" -Pmodule=spring-core
Comment From: snicoll
Thanks for the PR but we prefer to avoid depending on too many external plugins in our build, especially those that are flagged as experimental.
Comment From: jabrena
Hi @snicoll,
in reactor project & rsocket, JCstress is used, consider it :)