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

jdk/jfr/event/gc/stacktrace/TestParallelMarkSweepAllocationPendingStackTrace.java failed with "OutOfMemoryError: GC overhead limit exceeded"

    XMLWordPrintable

Details

    • jfr
    • b27
    • x86_64
    • os_x

    Description

      The following test failed in the JDK22 CI:

      jdk/jfr/event/gc/stacktrace/TestParallelMarkSweepAllocationPendingStackTrace.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(7/558)----------
      command: main -XX:MaxNewSize=10M -Xmx64M -XX:+UseParallelGC -Xlog:gc* jdk.jfr.event.gc.stacktrace.TestParallelMarkSweepAllocationPendingStackTrace
      reason: User specified action: run main/othervm -XX:MaxNewSize=10M -Xmx64M -XX:+UseParallelGC -Xlog:gc* jdk.jfr.event.gc.stacktrace.TestParallelMarkSweepAllocationPendingStackTrace
      started: Tue Nov 28 14:42:35 GMT 2023
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules jdk.jfr,java.management,jdk.management
      finished: Tue Nov 28 14:42:38 GMT 2023
      elapsed time (seconds): 3.116
      ----------configuration:(3/66)----------

      <snip>

      [3.047s][info][gc,heap ] GC(55) PSYoungGen: 4096K(7168K)->2394K(7168K) Eden: 4096K(4096K)->2394K(4096K) From: 0K(3072K)->0K(3072K)
      [3.047s][info][gc,heap ] GC(55) ParOldGen: 54863K(55296K)->54894K(55296K)
      [3.047s][info][gc,metaspace ] GC(55) Metaspace: 6549K(6912K)->6547K(6912K) NonClass: 5863K(6080K)->5861K(6080K) Class: 685K(832K)->685K(832K)
      [3.047s][info][gc ] GC(55) Pause Full (Ergonomics) 57M->55M(61M) 30.770ms
      [3.047s][info][gc,cpu ] GC(55) User=0.05s Sys=0.00s Real=0.03s
      [3.059s][info][gc,heap,exit ] Heap
      [3.059s][info][gc,heap,exit ] PSYoungGen total 7168K, used 2621K [0x00000007ff600000, 0x0000000800000000, 0x0000000800000000)
      [3.059s][info][gc,heap,exit ] eden space 4096K, 63% used [0x00000007ff600000,0x00000007ff88f440,0x00000007ffa00000)
      [3.059s][info][gc,heap,exit ] from space 3072K, 0% used [0x00000007ffa00000,0x00000007ffa00000,0x00000007ffd00000)
      [3.059s][info][gc,heap,exit ] to space 3072K, 0% used [0x00000007ffd00000,0x00000007ffd00000,0x0000000800000000)
      [3.059s][info][gc,heap,exit ] ParOldGen total 55296K, used 54894K [0x00000007fc000000, 0x00000007ff600000, 0x00000007ff600000)
      [3.059s][info][gc,heap,exit ] object space 55296K, 99% used [0x00000007fc000000,0x00000007ff59ba90,0x00000007ff600000)
      [3.059s][info][gc,heap,exit ] Metaspace used 6601K, committed 6976K, reserved 1114112K
      [3.059s][info][gc,heap,exit ] class space used 696K, committed 896K, reserved 1048576K
      ----------System.err:(38/2923)----------
      java.lang.OutOfMemoryError: GC overhead limit exceeded
      at java.base/jdk.internal.util.ReferencedKeyMap.lookupKey(ReferencedKeyMap.java:176)
      at java.base/jdk.internal.util.ReferencedKeyMap.get(ReferencedKeyMap.java:209)
      at java.base/jdk.internal.util.ReferencedKeySet.get(ReferencedKeySet.java:173)
      at java.base/java.lang.invoke.MethodType.makeImpl(MethodType.java:401)
      at java.base/java.lang.invoke.MethodType.methodType(MethodType.java:382)
      at java.base/java.lang.invoke.MethodTypeForm.canonicalize(MethodTypeForm.java:253)
      at java.base/java.lang.invoke.MethodTypeForm.findForm(MethodTypeForm.java:220)
      at java.base/java.lang.invoke.MethodType.makeImpl(MethodType.java:416)
      at java.base/java.lang.invoke.MethodType.methodType(MethodType.java:382)
      at java.base/java.lang.invoke.MethodType.changeReturnType(MethodType.java:704)
      at java.base/java.lang.invoke.InnerClassLambdaMetafactory.<init>(InnerClassLambdaMetafactory.java:174)
      at java.base/java.lang.invoke.LambdaMetafactory.metafactory(LambdaMetafactory.java:336)
      at java.base/java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(DirectMethodHandle$Holder)
      at java.base/java.lang.invoke.Invokers$Holder.invokeExact_MT(Invokers$Holder)
      at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:134)
      at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:316)
      at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:275)
      at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:265)
      at jdk.jfr/jdk.jfr.internal.consumer.ConstantMap.resolve(ConstantMap.java:131)
      at jdk.jfr/jdk.jfr.internal.consumer.ChunkParser.lambda$new$2(ChunkParser.java:143)
      at jdk.jfr/jdk.jfr.internal.consumer.ChunkParser$$Lambda/0x00000001250adc58.accept(Unknown Source)
      at jdk.jfr/jdk.jfr.internal.LongMap.forEach(LongMap.java:246)
      at jdk.jfr/jdk.jfr.internal.consumer.ChunkParser.<init>(ChunkParser.java:143)
      at jdk.jfr/jdk.jfr.internal.consumer.ChunkParser.<init>(ChunkParser.java:109)
      at jdk.jfr/jdk.jfr.internal.consumer.ChunkParser.<init>(ChunkParser.java:105)
      at jdk.jfr/jdk.jfr.consumer.RecordingFile.createChunkParser(RecordingFile.java:318)
      at jdk.jfr/jdk.jfr.consumer.RecordingFile.findNext(RecordingFile.java:294)
      at jdk.jfr/jdk.jfr.consumer.RecordingFile.<init>(RecordingFile.java:89)
      at jdk.jfr/jdk.jfr.consumer.RecordingFile.readAllEvents(RecordingFile.java:271)
      at jdk.test.lib.jfr.Events.fromRecording(Events.java:275)
      at jdk.jfr.event.gc.stacktrace.AllocationStackTrace.allocAndCheck(AllocationStackTrace.java:386)
      at jdk.jfr.event.gc.stacktrace.AllocationStackTrace.testAllocEvent(AllocationStackTrace.java:343)

      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
      ----------rerun:(41/8701)*----------

      Attachments

        Issue Links

          Activity

            People

              ayang Albert Yang
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: