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

Test jdk/jfr/event/gc/detailed/TestStressAllocationGCEventsWithParallel.java fails with GC overhead limit exceeded on several MacOS servers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P4
    • 15
    • 13, 14
    • hotspot
    • gc
    • os_x

    Description

      We observe frequent test failures of jdk/jfr/event/gc/detailed/TestStressAllocationGCEventsWithParallel.java. The output is the following:

      #section:main
      ----------messages:(5/389)----------
      command: main -XX:+UseParallelGC -Xmx64m jdk.jfr.event.gc.detailed.TestStressAllocationGCEventsWithParallel
      reason: User specified action: run main/othervm -XX:+UseParallelGC -Xmx64m jdk.jfr.event.gc.detailed.TestStressAllocationGCEventsWithParallel
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules jdk.jfr,java.management
      elapsed time (seconds): 63.128
      ----------configuration:(3/51)----------
      Boot Layer
        add modules: jdk.jfr java.management

      ----------System.out:(53/2241)----------
      Total memory= 64487424 bytes
      Objects size= 1024 bytes
      Starting 25 threads
      In "Thread-2" old objects count = 1259, recursion depth = 5
      In "Thread-3" old objects count = 1259, recursion depth = 5
      In "Thread-4" old objects count = 1259, recursion depth = 5
      In "Thread-5" old objects count = 1259, recursion depth = 5
      In "Thread-6" old objects count = 1259, recursion depth = 5
      In "Thread-7" old objects count = 1259, recursion depth = 5
      In "Thread-8" old objects count = 1259, recursion depth = 5
      In "Thread-9" old objects count = 1259, recursion depth = 5
      In "Thread-10" old objects count = 1259, recursion depth = 5
      In "Thread-11" old objects count = 1259, recursion depth = 5
      In "Thread-12" old objects count = 1259, recursion depth = 5
      In "Thread-13" old objects count = 1259, recursion depth = 5
      In "Thread-14" old objects count = 1259, recursion depth = 5
      In "Thread-15" old objects count = 1259, recursion depth = 5
      In "Thread-16" old objects count = 1259, recursion depth = 5
      In "Thread-17" old objects count = 1167, recursion depth = 5
      In "Thread-18" old objects count = 1167, recursion depth = 5
      In "Thread-19" old objects count = 1167, recursion depth = 5
      In "Thread-20" old objects count = 1167, recursion depth = 5
      In "Thread-21" old objects count = 1167, recursion depth = 5
      In "Thread-22" old objects count = 1167, recursion depth = 5
      In "Thread-23" old objects count = 1167, recursion depth = 5
      In "Thread-24" old objects count = 1167, recursion depth = 5
      In "Thread-25" old objects count = 1167, recursion depth = 5
      In "Thread-26" old objects count = 1167, recursion depth = 5
      Completed after 60007 ms
      Completed after 60009 ms
      Completed after 60002 ms
      Completed after 60001 ms
      Completed after 60009 ms
      Completed after 60008 ms
      Completed after 60009 ms
      Completed after 60004 ms
      Completed after 60000 ms
      Completed after 60008 ms
      Completed after 60005 ms
      Completed after 60000 ms
      Completed after 60007 ms
      Completed after 60006 ms
      Completed after 60008 ms
      Completed after 60001 ms
      Completed after 60001 ms
      Completed after 60002 ms
      Completed after 60006 ms
      Completed after 60004 ms
      Completed after 60000 ms
      Completed after 60004 ms
      Completed after 60005 ms
      Completed after 60001 ms
      Completed after 60007 ms
      ----------System.err:(21/1487)----------
      java.lang.OutOfMemoryError: GC overhead limit exceeded
      at java.base/java.lang.Long.valueOf(Long.java:1199)
      at jdk.jfr/jdk.jfr.consumer.ParserFactory$LongParser.parse(ParserFactory.java:189)
      at jdk.jfr/jdk.jfr.consumer.EventParser.parse(EventParser.java:60)
      at jdk.jfr/jdk.jfr.consumer.ChunkParser.readEvent(ChunkParser.java:90)
      at jdk.jfr/jdk.jfr.consumer.RecordingFile.readEvent(RecordingFile.java:128)
      at jdk.jfr/jdk.jfr.consumer.RecordingFile.readAllEvents(RecordingFile.java:243)
      at jdk.test.lib.jfr.Events.fromRecording(Events.java:274)
      at jdk.jfr.event.gc.detailed.StressAllocationGCEvents.run(StressAllocationGCEvents.java:89)
      at jdk.jfr.event.gc.detailed.TestStressAllocationGCEventsWithParallel.main(TestStressAllocationGCEventsWithParallel.java:37)
      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:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:830)

      JavaTest Message: Test threw exception: java.lang.OutOfMemoryError: GC overhead limit exceeded
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.OutOfMemoryError: GC overhead limit exceeded

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              clanger Christoph Langer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: