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

HeapMonitorStatIntervalTest.java fails with ZGC

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11, 12
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b24
    • Verification:
      Verified

      Backports

        Description

        ----------System.out:(20/440)----------
        Allocating for 436906
        Allocating for 436906
        Allocating for 436906
        Allocating for 436906
        Allocating for 436906
        Allocating for 436906
        Allocating for 436906
        Allocating for 436906
        Allocating for 436906
        Allocating for 436906
        Allocating for 436906
        Allocating for 436906
        Allocating for 436906
        Allocating for 436906
        Allocating for 436906
        Allocating for 436906
        Allocating for 436906
        Allocating for 436906
        Allocating for 436906
        Allocating for 436906
        ----------System.err:(1390/97826)----------
        ...
        Adding trace for thread 0x7f9e900111c8, frame_count 10, storage 0x7f9f12e65820
        allocateSize(I)I (HeapMonitor.java: 117)
        testRateOnce(IZ)Z (HeapMonitorStatRateTest.java: 51)
        testRate(I)V (HeapMonitorStatRateTest.java: 80)
        main([Ljava/lang/String;)V (HeapMonitorStatRateTest.java: 88)
        Native frame
        invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (NativeMethodAccessorImpl.java: 62)
        invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (DelegatingMethodAccessorImpl.java: 43)
        invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (Method.java: 566)
        run()V (MainWrapper.java: 115)
        run()V (Thread.java: 834)
        java.lang.RuntimeException: Rate average over 10% for rate 1024 -> 138375.0, 102400.0
        at MyPackage.HeapMonitorStatRateTest.testRateOnce(HeapMonitorStatRateTest.java:65)
        at MyPackage.HeapMonitorStatRateTest.testRate(HeapMonitorStatRateTest.java:80)
        at MyPackage.HeapMonitorStatRateTest.main(HeapMonitorStatRateTest.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:115)
        at java.base/java.lang.Thread.run(Thread.java:834)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Rate average over 10% for rate 1024 -> 138375.0, 102400.0
        JavaTest Message: shutting down test

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jcbeyler Jean Christophe Beyler
                Reporter:
                xyin Chris Yin (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: