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

GCProvokingDebuggee should eat heap more accurately

    Details

    • Subcomponent:
      svc
    • CPU:
      generic
    • OS:
      generic

      Description

      Method tmtools.jstat.shareGC.GCProvokingDebuggee.eatHeapMemory allocates fixed amount of byte arrays as a result sometime amount of used memory is a bit lower than expected.
      More accurate method should be used (JMX-based as it used in eatPermGen , for example).

      Affected VM tests:
      tmtools/jstat/gc/jstat_gc02
      tmtools/jstat/gcold/jstat_gcold02
      tmtools/jstat/gcutil/jstat_gcutil02
      http://stt-13.ru.oracle.com/results/1.6.0_38/b04/vm/solaris10-sun4u-64_vm.tmtools.testlist/ResultDir/jstat_gcutil02/myserver/server.log

      Tests failing with following message:
      [2012-11-02T16:47:41.71] FAILED:nsk.share.Failure: Old space utilization should be > 70.0%, actually O = 69.77
      [2012-11-02T16:47:41.71] at tmtools.jstat.JstatAnalyser.testAssert(JstatAnalyser.java:300)
      [2012-11-02T16:47:41.71] at tmtools.jstat.shareGC.SpaceUtilizationAnalyser.checkLineConsistency(SpaceUtilizationAnalyser.java:35)
      [2012-11-02T16:47:41.71] at tmtools.jstat.JstatAnalyser.checkSingleRunOutput(JstatAnalyser.java:402)
      [2012-11-02T16:47:41.71] at tmtools.jstat.JstatAnalyser.analyse(JstatAnalyser.java:791)
      [2012-11-02T16:47:41.71] at tmtools.share.Test.doTest(Test.java:218)
      [2012-11-02T16:47:41.71] at tmtools.share.TestSuite.execute(TestSuite.java:172)
      [2012-11-02T16:47:41.71] at tmtools.share.TestSuite.main(TestSuite.java:206)
      [2012-11-02T16:47:41.71] nsk.share.Failure: Old space utilization should be > 70.0%, actually O = 69.77
      [2012-11-02T16:47:41.71] at tmtools.jstat.JstatAnalyser.testAssert(JstatAnalyser.java:300)
      [2012-11-02T16:47:41.71] at tmtools.jstat.shareGC.SpaceUtilizationAnalyser.checkLineConsistency(SpaceUtilizationAnalyser.java:35)
      [2012-11-02T16:47:41.71] at tmtools.jstat.JstatAnalyser.checkSingleRunOutput(JstatAnalyser.java:402)
      [2012-11-02T16:47:41.71] at tmtools.jstat.JstatAnalyser.analyse(JstatAnalyser.java:791)
      [2012-11-02T16:47:41.71] at tmtools.share.Test.doTest(Test.java:218)
      [2012-11-02T16:47:41.71] at tmtools.share.TestSuite.execute(Tes jstat_gcutil02. The reason: Old space utilization should be > 70.0%, actually O = 69.77

        Attachments

          Activity

            People

            • Assignee:
              bmoloden Boris Molodenkov (Inactive)
              Reporter:
              fzhinkin Filipp Zhinkin
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: