adoptium / adoptium/aqa-tests

jdk_jdi_jdk8 fails because of TestClassLoaderLeak.java failed when GC cycles are not happening

Open
#3,572 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
155
Forks
346
Avg merge
2d 9h
Merged PRs (30d)
36

Description

**Describe the bug**
TestClassLoaderLeak.java faild with JDK8 hotspot

**To Reproduce**
make _jdk_jdi_jdk8_0

**Expected behavior**
all test cases pass

**Screenshots**
![image](https://user-images.githubusercontent.com/38229679/163148590-28280856-930b-4e2f-b906-e569aafbd35c.png)

**Additional context**
realated issue in latest version of openJDK: https://bugs.openjdk.java.net/browse/JDK-8274563
https://github.com/openjdk/jdk/commit/47bfc8aa9367ff852ea5d901f1fa3c6ef316913e
locally verified this patch solved this failure

Contributor guide

Open the contributing guide

Research direction

Start by running `make _jdk_jdi_jdk8_0` and locating `TestClassLoaderLeak.java` in the AQA tests. Compare the failure with the linked OpenJDK issue and commit, then verify the relevant JDK 8 test run passes without relying on GC cycles failing to occur.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.