jdk11u-dev
jdk11u-dev copied to clipboard
8298783: java/lang/ref/FinalizerHistogramTest.java failed with "RuntimeException: MyObject is not found in test output"
Hi all,
This pull request contains a backport of commit fe29cad5 from the openjdk/jdk repository.
The commit being backported was authored by Brent Christian on 6 May 2025 and was reviewed by Kim Barrett and Jaikiran Pai.
This PR is intend to fix the test bug which cause test intermittent fails. Backport not clean because the path of sun.hotspot.WhiteBox different to main-line, the path should adopt to jdk11u-dev when backport from main-line to jdk11u-dev, Other parts is cleanly.
I have verified this backport plus with https://github.com/openjdk/jdk11u-dev/pull/3105.
Thanks!
Progress
- [ ] Change must be properly reviewed (1 review required, with at least 1 Reviewer)
- [x] Change must not contain extraneous whitespace
- [x] Commit message must refer to an issue
- [ ] JDK-8298783 needs maintainer approval
Issue
- JDK-8298783: java/lang/ref/FinalizerHistogramTest.java failed with "RuntimeException: MyObject is not found in test output" (Bug - P4)
Reviewing
Using git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/3074/head:pull/3074
$ git checkout pull/3074
Update a local copy of the PR:
$ git checkout pull/3074
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/3074/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3074
View PR using the GUI difftool:
$ git pr show -t 3074
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/3074.diff