Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6496143

Java Plugin CJavaDispatch reference counting not thread-safe

XMLWordPrintable

    • b01
    • generic
    • generic

      (A further problem demonstrated with the testcase in 6447127.)

      CJavaDispatch objects keep a reference count, but do
      not guard updates from being accessed in multiple
      threads concurrently.

      Losing track of CJavaDispatch objects creates memory
      leaks as Java global references (to JavaObjectInterface
      java objects) are kept alive.

      Using Critical Sections as already used in other parts
      of the class is preferable.

            kevinw Kevin Walls
            kevinw Kevin Walls
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: