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

numAppContexts is accessed in non-threadsafe way in sun.awt.AppContext

    XMLWordPrintable

Details

    • b36
    • x86
    • linux

    Description

      FULL PRODUCT VERSION :
      jdk7b147

      A DESCRIPTION OF THE PROBLEM :
      The numAppContexts variable, which is used to count the number of active AppContexts is used in a non-threadsafe way, as read-modify-write operators are not thread-safe on volatile fields.

      I plan to submit a fix via OpenJDK, so I just need a bug-id ;)


      REPRODUCIBILITY :
      This bug can be reproduced always.

      Attachments

        Activity

          People

            anthony Anthony Petrov (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: