Skip to content
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

Merged

Conversation

avpotapov00
Copy link
Collaborator

@avpotapov00 avpotapov00 commented Oct 7, 2024

closes #412, #377, #405

@avpotapov00 avpotapov00 requested a review from ndkoval October 7, 2024 17:10
@avpotapov00 avpotapov00 self-assigned this Oct 7, 2024
Copy link
Collaborator

@ndkoval ndkoval left a 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.

@ndkoval
Copy link
Collaborator

ndkoval commented Oct 8, 2024

Also, we can slightly improve the running time of small tests by re-instrumenting only those classes with ClassLoader in their names, which are assignable to ClassLoader.

@eupp eupp mentioned this pull request Oct 12, 2024
@avpotapov00 avpotapov00 requested a review from ndkoval October 14, 2024 12:43
@ndkoval ndkoval changed the title Non-determinism fix: ClassLoaders are now transformed in the Model Checking mode. Non-determinism fix: ClassLoaders are now transformed in the Model Checking mode Oct 17, 2024
@avpotapov00 avpotapov00 requested a review from ndkoval October 17, 2024 17:14
@ndkoval ndkoval merged commit 77603dc into develop Oct 17, 2024
15 checks passed
@ndkoval ndkoval deleted the 412-classloaders-are-not-transformed-in-modelchecking-mode branch October 17, 2024 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants