-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-determinism fix: ClassLoaders are now transformed in the Model Checking mode #413
Non-determinism fix: ClassLoaders are now transformed in the Model Checking mode #413
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @avpotapov00, thanks for the fix!
Could you please add a simple test that reveals the bug and measure the performance impact of this change? Intuitively, when running a single test, re-instrumenting all classes with ClassLoader
in their names can increase the running time by several seconds.
src/jvm/test/org/jetbrains/kotlinx/lincheck_test/transformation/channel/ChannelSegment.kt
Outdated
Show resolved
Hide resolved
src/jvm/test/org/jetbrains/kotlinx/lincheck_test/transformation/channel/BufferedChannel.kt
Outdated
Show resolved
Hide resolved
src/jvm/test/org/jetbrains/kotlinx/lincheck_test/transformation/channel/BufferedChannelTest.kt
Outdated
Show resolved
Hide resolved
src/jvm/test/org/jetbrains/kotlinx/lincheck_test/transformation/channel/BufferedChannelTest.kt
Outdated
Show resolved
Hide resolved
Also, we can slightly improve the running time of small tests by re-instrumenting only those classes with |
closes #412, #377, #405