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

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.0M3
    • Fix Version/s: 6.0M3
    • Component/s: Classlib
    • Labels:
      None
    • Environment:
      All Operating Systems
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated: