Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903086

jcstress: Deadlock testing mode

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      A few samples, notably DiningPhilosophers and ProducerConsumer are actually testing for multi-actor deadlock. It is now faked by using the @Arbiter and default (continuous) mode, but it comes with a few drawbacks.

      First, it is kludgy. Second, that mode runs @Actor once per @State, and so deadlock opportunity is rather narrow.

      Instead, we should be having a special deadlock mode.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: