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

Make system tests that detect memory leaks more robust by using JMemoryBuddy utility

XMLWordPrintable

    • b17
    • generic
    • generic

      Some of the system tests check the memory leak using a loop and multiple calls to System.gc() method. These tests can be made more robust by using JMemoryBuddy utility.
      E.g.
      TabPaneHeaderLeakTest
      AccordionTitlePaneLeakTest
      ShapeViewOrderLeakTest
      SwingNodeMemoryLeakTest
      SwingNodeDnDMemoryLeakTest



      For reference - systems test that already use JMemoryBuddy utility:
      -----------------------------------------------------------------------------------------
      ViewPainterLeakTest
      PlatformStartupMemoryLeakTest
      VirtualFlowMemoryLeakTest
      StyleMemoryLeakTest
      InitialNodesMemoryLeakTest
      ProgressIndicatorLeakTest

            lkostyra Lukasz Kostyra
            aghaisas Ajit Ghaisas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: