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

concurrency bug in ThreadReferenceTest.test_resume #19

Open
csuter opened this issue Mar 30, 2015 · 0 comments
Open

concurrency bug in ThreadReferenceTest.test_resume #19

csuter opened this issue Mar 30, 2015 · 0 comments

Comments

@csuter
Copy link
Owner

csuter commented Mar 30, 2015

test is currently flaky. still investigating.

possibly has something to do with

  • initialization order of main thread vs child thread (see ThreadReferenceTest definition for test class detail)
  • more remotely: javac optimization of test java code. the code basically does nothing (sleeps a couple threads), so maybe the compiler is eliminating code. adding println's affects behavior, somewhat in support of this theory. But it's much more likely the println's affect timing.
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

No branches or pull requests

1 participant