Skip to content

concurrency bug in ThreadReferenceTest.test_resume #19

Description

@csuter

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions