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

Hide Java thread pools and executors impelementation details in the trace #514

Open
eupp opened this issue Feb 10, 2025 · 0 comments
Open
Assignees
Milestone

Comments

@eupp
Copy link
Collaborator

eupp commented Feb 10, 2025

Consider the following example:

val executorService = Executors.newFixedThreadPool(2)
val future = executorService.submit(task)
future.get()

Currently, if a lincheck test fails in such a case, it would also output in the trace all the implementation details of the executor service and thread pool classes. These details typically would not be relevant to the user (assuming bug occurs in user code, and not in the Java stdlib classes themself).

We need to improve on this, and do not show these details by default to the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants