Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6677

[classlib][concurrent] NegativeArraySizeException reported in ArrayBlockingQueue under load

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 6.0M3
    • 6.0M3
    • Classlib
    • None
    • All Operating Systems
    • Patch Available
    • Moderate

    Description

      The extract() and the removeAt() methods in the ArrayBlockingQueue class do not have a bounds check for the count variable and hence a NegativeArraySizeException is reported when this class is load tested, with multiple threads.

      Attachments

        1. 001_HARMONY_6677.patch
          0.8 kB
          Prashanth KS

        Activity

          People

            Unassigned Unassigned
            pxkrish Prashanth KS
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: