Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] TestClassLoaderLeak.java运行失败 #369

Closed
sendaoYan opened this issue Jul 28, 2022 · 1 comment
Closed

[Bug] TestClassLoaderLeak.java运行失败 #369

sendaoYan opened this issue Jul 28, 2022 · 1 comment

Comments

@sendaoYan
Copy link
Collaborator

Description
jdk/test/jdk/jfr/event/oldobject/TestClassLoaderLeak.java失败

java.lang.RuntimeException: Could not find class leak
        at jdk.test.lib.Asserts.fail(Asserts.java:594)
        at jdk.jfr.event.oldobject.TestClassLoaderLeak.main(TestClassLoaderLeak.java:79)
        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)

Steps to Reproduce
Steps to reproduce the behavior:
jtreg jdk/test/jdk/jfr/event/oldobject/TestClassLoaderLeak.java

Expected behavior
run pass

JDK version

openjdk version "1.8.0_332"
OpenJDK Runtime Environment (Alibaba Dragonwell 8.11.12) (build 1.8.0_332-b01)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell 8.11.12) (build 25.332-b01, mixed mode)

Execution environment

image

@sendaoYan
Copy link
Collaborator Author

合入社区patch可以解决该问题:

openjdk/jdk@47bfc8a

sendaoYan added a commit that referenced this issue Jul 28, 2022
Summary: fix testcase bug jdk/test/jdk/jfr/event/oldobject/TestClassLoaderLeak.java

Test Plan: CI pipeline

Reviewed-by: lei.yul, lvfei.lv

Issue: #369
sendaoYan added a commit that referenced this issue Aug 23, 2022
Summary: fix testcase bug jdk/test/jdk/jfr/event/oldobject/TestClassLoaderLeak.java

Test Plan: CI pipeline

Reviewed-by: lei.yul, lvfei.lv

Issue: #369
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant