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

Pontential VM lockup at dispose

XMLWordPrintable

    • x86
    • generic


      ellis.yu@canada 1998-03-03
      The Sybase Licensee reports this :-

      Looking through the source code for JDK 1.1.3, I finally
      figured out why we were having problems when destroying
      some of our forms. In win32\sun\windows\awt_Component.cpp,
      there is a sun_awt_windows_WComponentPeer__dispose
      function. In that function, there is a call to
      PostMessage( ..., WM_AWT_QUEUE_SYNC, ... ),
      followed by a call to WaitForSingleObject( ..., INFINITE ). The
      problem is that if the PostMessage call fails (because the queue
      is full), then the wait never terminates. I had to put in some
      remarkably ugly code to work around this particular problem.

            mmartaksunw Michael Martak (Inactive)
            eyusunw Ellis Yu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: