Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-6982890

Memory issue JT 4.3 b15-19 vs JDK 6, 6u16

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • jt4.3
    • jt4.3
    • tools
    • b20
    • generic
    • generic
    • Verified

      JavaTest 4.3 starting from b15 does not load JCK-runtime-7 tests: hangs while loading due to memory issue.
      Possible to be regression

      Platform: Windows 7 64bit
      Dump is attached
      JT 4.3 b14 does not have this issue
      Reproducible with JDK 6 b105, JDK 6u16
      *Not* reproducible with JDK7 b107, JDK 6u21; with -Xmx512m (recommended by JCK UG)

      How to reproduce:
      - run JavaTest 4.3 with new desktop, close QSW (java.exe -Xmx200m -jar R:\javatest\4.3\snapshot\fcs\b19\binaries\javatest\lib\javatest.jar)
      - open test suit JCK-runtime-7 (I used b41 qac build)
      -> summary for Test Suit Root shows that not all tests were loaded (total test number should be about 62000 tests)
      -> in console:
      C:\Users\iy159691>R:\jdk\6.0\latest\binaries\windows-amd64\bin\java.exe -Xmx200m -jar R:\javatest\4.3\snapshot\fcs\b19\binaries\javatest\lib\javatest.jar
      Exception in thread "Test Tree Cache Worker" java.lang.OutOfMemoryError: GC overhead limit exceeded
              at java.util.Arrays.copyOfRange(Arrays.java:3209)
              at java.lang.String.<init>(String.java:216)
              at java.lang.StringBuffer.toString(StringBuffer.java:585)
              at com.sun.javatest.TestResult.getWorkRelativePath(TestResult.java:1294)
              at com.sun.javatest.TestResult.getWorkRelativePath(TestResult.java:1258)
              at com.sun.javatest.TestResult.getWorkRelativePath(TestResult.java:1214)
              at com.sun.javatest.TRT_TreeNode.getResultIndex(TRT_TreeNode.java:517)
              at com.sun.javatest.TRT_TreeNode.getTestIndex(TRT_TreeNode.java:547)
              at com.sun.javatest.TRT_TreeNode.addChild(TRT_TreeNode.java:1467)
              at com.sun.javatest.TRT_TreeNode.addChild(TRT_TreeNode.java:1437)
              at com.sun.javatest.TRT_TreeNode.processFile(TRT_TreeNode.java:1115)
              at com.sun.javatest.TRT_TreeNode.scanIfNeeded(TRT_TreeNode.java:650)
              at com.sun.javatest.TRT_TreeNode.getChildCount(TRT_TreeNode.java:124)
              at com.sun.javatest.TRT_Iterator$PseudoFrame.nextIndex(TRT_Iterator.java:904)
              at com.sun.javatest.TRT_Iterator.findNext(TRT_Iterator.java:599)
              at com.sun.javatest.TRT_Iterator.nextElement(TRT_Iterator.java:179)
              at com.sun.javatest.TRT_Iterator.next(TRT_Iterator.java:200)
              at com.sun.javatest.exec.TT_NodeCache.process(TT_NodeCache.java:580)
              at com.sun.javatest.exec.TT_NodeCache.run(TT_NodeCache.java:92)
              at com.sun.javatest.exec.TestTreeModel$CacheWorker.run(TestTreeModel.java:1187)
      Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead limit exceeded
              at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
              at java.awt.image.Raster.createPackedRaster(Raster.java:458)
              at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
              at java.awt.image.BufferedImage.<init>(BufferedImage.java:321)
              at com.sun.javatest.tool.PieChart.paintComponent(PieChart.java:94)
              at javax.swing.JComponent.paint(JComponent.java:1022)
              at javax.swing.JComponent.paintChildren(JComponent.java:859)
              at javax.swing.JComponent.paint(JComponent.java:1031)
              at javax.swing.JComponent.paintChildren(JComponent.java:859)
              at javax.swing.JComponent.paint(JComponent.java:1031)
              at javax.swing.JComponent.paintToOffscreen(JComponent.java:5104)
              at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:285)
              at javax.swing.RepaintManager.paint(RepaintManager.java:1132)
              at javax.swing.JComponent._paintImmediately(JComponent.java:5052)
              at javax.swing.JComponent.paintImmediately(JComponent.java:4862)
              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:727)
              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:683)
              at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:663)
              at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
              at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
              at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

            bkurotsu Brian Kurotsuchi (Inactive)
            iyemtsov Inga Yemtsova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: