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

HeapMonitorStatIntervalTest.java fails due average calculation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 12
    • 12
    • hotspot
    • b21
    • x86_64
    • linux

      The following test failed in the jdk/jdk CI:

      serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorStatIntervalTest.java

      Here's a snippet of the log file:

      ----------System.out:(22/484)----------
      Allocating for 436906
      Allocating for 436906
      Allocating for 378092
      Allocating for 378092
      Allocating for 378092
      Allocating for 378092
      Allocating for 378092
      Allocating for 378092
      Allocating for 378092
      Allocating for 378092
      Allocating for 378092
      Allocating for 378092
      Allocating for 378092
      Allocating for 378092
      Allocating for 378092
      Allocating for 378092
      Allocating for 378092
      Allocating for 378092
      Allocating for 378092
      Allocating for 378092
      Allocating for 378092
      Allocating for 378092
      ----------System.err:(16/1307)----------
      Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
      java.lang.RuntimeException: Interval average over 10% for interval 1024 -> 88611.0, 102400.0
      at MyPackage.HeapMonitorStatIntervalTest.testIntervalOnce(HeapMonitorStatIntervalTest.java:63)
      at MyPackage.HeapMonitorStatIntervalTest.testInterval(HeapMonitorStatIntervalTest.java:78)
      at MyPackage.HeapMonitorStatIntervalTest.main(HeapMonitorStatIntervalTest.java:88)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:835)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Interval average over 10% for interval 1024 -> 88611.0, 102400.0
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Interval average over 10% for interval 1024 -> 88611.0, 102400.0
      ----------rerun:(31/5169)*----------

            jcbeyler Jean Christophe Beyler
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: