dragonwell-project / dragonwell8

Alibaba Dragonwell8 JDK
http://dragonwell-jdk.io
GNU General Public License v2.0
4.21k stars 497 forks source link

TestNoMinidumpAtFullGC.java用例报错Expected that 100795679 > 104857600 #574

Closed sendaoYan closed 1 year ago

sendaoYan commented 1 year ago

test command:

j hotspot/test/serviceability/sa/jmap-minidump/TestNoMinidumpAtFullGC.java 

result:

Command line: [/home/yansendao/software/jdk/2023-07/dragonwell-8.15.16/bin/java -cp /home/yansendao/git/dragonwell8/tmp/classes/serviceability/sa/jmap-minidump:/home/yansendao/git/dragonwell8/hotspot/test/serviceability/sa/jmap-minidump:/home/yansendao/git/dragonwell8/tmp/classes/testlibrary:/home/yansendao/git/dragonwell8/hotspot/test/testlibrary:/home/yansendao/software/jdk/2023-07/dragonwell-8.15.16/lib/tools.jar:/home/yansendao/software/jdk/jtreg-5/lib/javatest.jar:/home/yansendao/software/jdk/jtreg-5/lib/jtreg.jar -Xmx128m -Xms128m -XX:+HeapDumpBeforeFullGC TestNoMinidumpAtFullGC$OOMWorker ]
STDERR:
java.lang.RuntimeException: Expected that 100795679 > 104857600
        at com.oracle.java.testlibrary.Asserts.error(Asserts.java:468)
        at com.oracle.java.testlibrary.Asserts.assertTrue(Asserts.java:377)
        at com.oracle.java.testlibrary.Asserts.assertGreaterThan(Asserts.java:250)
        at com.oracle.java.testlibrary.Asserts.assertGreaterThan(Asserts.java:238)
        at TestNoMinidumpAtFullGC.lambda$main$1(TestNoMinidumpAtFullGC.java:74)
        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
        at java.util.Iterator.forEachRemaining(Iterator.java:116)
        at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
        at TestNoMinidumpAtFullGC.main(TestNoMinidumpAtFullGC.java:74)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.lang.Thread.run(Thread.java:855)
java.lang.RuntimeException: Failed
        at com.oracle.java.testlibrary.Asserts.error(Asserts.java:468)
        at com.oracle.java.testlibrary.Asserts.fail(Asserts.java:444)
        at TestNoMinidumpAtFullGC.main(TestNoMinidumpAtFullGC.java:78)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.lang.Thread.run(Thread.java:855)

环境信息及版本信息:

image

https://dragonwell.oss-cn-shanghai.aliyuncs.com/test-46/OpenJDK8U-jdk_x64_linux_dragonwell_2023-07-21-07-36.tar.gz

版本:

java -version
openjdk version "1.8.0_372"
OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition 8.15.16) (build 1.8.0_372-b01)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition 8.15.16) (build 25.372-b01, mixed mode)

上一个发布版本可以跑过:

image