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

Substantial memory allocation in FCS M on NT MP machines causes OutOfVM error

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.2.2
    • CPU:
      x86
    • OS:
      windows_nt

      Description

      There is a serious memory problem in JDK1.2FCS-M running on winNT. The system
      pops up a window saying "out of virtual memory"

      Steps to reproduce:

                  Bring up the Javatest window with the JDK.
                  Move the javatest window many times under a "Always on Top" Window,
                  such as the Task Manager.

      Monitor memory usage in the Task Manager. After several hundred repaints,
      memory usage will spike way up, and then come back down. Occassionaly, mem
      usage will spike up and will not come down for several minutes. During this
      period, the system is unusable (although an acutal crash is rare). This
      problem seem to occur only on multiprocessor machines.

      Configuration used:
              WinNT dual processor pentium pro, 128MB memory.



      Thread dump:
        
      D:\jtpfiles\m2wescafe12a_NT>E:\jdk12m\bin\java -ms10m -classpath Z:\javatest
      ar;.;E:\jdk12m\lib\classes.zip javasoft.sqe.javatest.tool.Main

      Full thread dump Classic VM (JDK-1.2fcs-M, native threads):
          "AWT-Finalizer" (TID:0x17e8cc8, sys_thread_t:0x906830, state:CW, native ID
      x67) prio=9
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Compiled Code)
              at sun.awt.AWTFinalizer.run(Compiled Code)
          "Thread-2" (TID:0x17bd3d0, sys_thread_t:0x8f6340, state:CW, native ID:0x20
      prio=5
          "ToolFrame:Timer" (TID:0x17bcc30, sys_thread_t:0x8f3ea0, state:CW, native
      :0x36) prio=5
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Compiled Code)
              at javasoft.sqe.javatest.tool.ToolFrame$Timer.run(Compiled Code)
          "Screen Updater" (TID:0x17b5ca0, sys_thread_t:0x8e9d60, state:CW, native I
      0x69) prio=4
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Compiled Code)
              at sun.awt.ScreenUpdater.nextEntry(Compiled Code)
              at sun.awt.ScreenUpdater.run(Compiled Code)
          "Help:Timer" (TID:0x17a2250, sys_thread_t:0x8bfb60, state:CW, native ID:0x
      ) prio=5
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Compiled Code)
              at javasoft.sqe.javatest.gui.Help$Timer.run(Compiled Code)
          "AWT-Windows" (TID:0x178ca38, sys_thread_t:0x875b10, state:R, native ID:0x
      ) prio=5
              at sun.awt.windows.WToolkit.eventLoop(Native Method)
              at sun.awt.windows.WToolkit.run(WToolkit.java:134)
              at java.lang.Thread.run(Thread.java:479)
          "SunToolkit.PostEventQueue-0" (TID:0x178c888, sys_thread_t:0x875990, state
      W, native ID:0x7c) prio=5
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Compiled Code)
              at sun.awt.PostEventQueue.run(SunToolkit.java:363)
          "AWT-EventQueue-0" (TID:0x178c8b8, sys_thread_t:0x8755c0, state:MW, native
      D:0x94) prio=6
              at sun.java2d.loops.GraphicsPrimitiveMgr.locate(Compiled Code)
              at sun.java2d.loops.RasterOutputManager$PerformUnaryGraphicsPrimitive.
      nit>(Compiled Code)
              at sun.java2d.loops.RasterOutputManager.drawString(Compiled Code)
              at sun.java2d.pipe.ValidatePipe.drawString(Compiled Code)
              at sun.java2d.SunGraphics2D.drawString(Compiled Code)
              at javasoft.sqe.javatest.gui.lite.Label.paint(Compiled Code)
              at javasoft.sqe.javatest.gui.List$Entry.paint(Compiled Code)
              at java.awt.Container.paint(Compiled Code)
              at javasoft.sqe.javatest.gui.Bevel.paint(Compiled Code)
              at sun.awt.windows.WComponentPeer.handleEvent(Compiled Code)
              at java.awt.Component.dispatchEventImpl(Compiled Code)
              at java.awt.Container.dispatchEventImpl(Compiled Code)
              at java.awt.Component.dispatchEvent(Compiled Code)
              at java.awt.EventQueue.dispatchEvent(Compiled Code)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
          "Finalizer" (TID:0x172c320, sys_thread_t:0x820b90, state:CW, native ID:0x4
       prio=8
              at java.lang.Object.wait(Native Method)
              at java.lang.ref.ReferenceQueue.remove(Compiled Code)
              at java.lang.ref.ReferenceQueue.remove(Compiled Code)
              at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
          "Reference Handler" (TID:0x172c3b0, sys_thread_t:0x81f390, state:CW, nativ
      ID:0x7e) prio=10
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Compiled Code)
              at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
          "Signal dispatcher" (TID:0x172c3e0, sys_thread_t:0x81f770, state:R, native
      D:0x47) prio=5
      Monitor Cache Dump:
          sun.awt.ScreenUpdater@17B5CA0/1CF4620: <unowned>
              Waiting to be notified:
                  "Screen Updater" (0x8e9d60)
          javasoft.sqe.javatest.tool.ToolFrame$Timer@17BCC30/1D75AD8: <unowned>
              Waiting to be notified:
                  "ToolFrame:Timer" (0x8f3ea0)
          java.lang.ref.ReferenceQueue$Lock@172C338/192EA30: <unowned>
              Waiting to be notified:
                  "Finalizer" (0x820b90)
          javasoft.sqe.javatest.gui.List$Entry@1834038/1D80870: owner "AWT-EventQueu
      0" (0x8755c0) 1 entry
          java.lang.ref.Reference$Lock@172C3C0/192E560: <unowned>
              Waiting to be notified:
                  "Reference Handler" (0x81f390)
          javasoft.sqe.javatest.gui.Help$Timer@17A2250/1BEAF78: <unowned>
              Waiting to be notified:
                  "Help:Timer" (0x8bfb60)
          sun.awt.AWTFinalizer@17E8CC8/1AD1BB8: <unowned>
              Waiting to be notified:
                  "AWT-Finalizer" (0x906830)
          sun.awt.PostEventQueue@178C888/19FA830: <unowned>
              Waiting to be notified:
                  "SunToolkit.PostEventQueue-0" (0x875990)
      Registered Monitor Dump:
          SymcJIT Method Monitor: <unowned>
          SymcJIT Method Monitor: <unowned>
          SymcJIT Method Monitor: <unowned>
          SymcJIT Method List Monitor: <unowned>
          SymcJIT Lock: <unowned>
          utf8 hash table: owner "AWT-Windows" (0x875b10) 1 entry
          JNI pinning lock: <unowned>
          JNI global reference lock: <unowned>
          BinClass lock: <unowned>
          Class linking lock: <unowned>
          System class loader lock: <unowned>
          Code rewrite lock: <unowned>
          Heap lock: <unowned>
          Monitor cache lock: owner "Signal dispatcher" (0x81f770) 1 entry
              Waiting to enter:
                  "AWT-EventQueue-0" (0x8755c0)
          Thread queue lock: owner "Signal dispatcher" (0x81f770) 1 entry
              Waiting to be notified:
                  "Thread-2" (0x8f6340)
          Monitor registry: owner "Signal dispatcher" (0x81f770) 1 entry

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dmendenhsunw David Mendenhall (Inactive)
              Reporter:
              mavvarisunw Madhava Avvari (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: