-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8273887: [macos] java/awt/color/ICC_ColorSpace/MTTransformReplacedProfile.java timed out #5587
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
Conversation
👋 Welcome back serb! A progress list of the required criteria for merging this PR into |
Run the fixed testcase on the same host where the timeout was reproduced and the issue is not reproduced after running the test case several time and one more observation is test case run finish running faster. |
@mrserb This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 3 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
/integrate |
Going to push as commit 1bd11a7.
Your commit was automatically rebased without conflicts. |
This testcase creates two threads for each tag, one thread continuously change the profiles, the second thread use that profiles for color conversion. The first thread executed no more than 15 seconds, and the second thread should be stopped when the first thread end.
Unfortunately on the slow systems the second thread may occupy all cpu time, and will run forever since the first thread will not be able make even one iteration to stop the second thread. I was able to reproduce it by changing implementation of color conversion so it will do x10 more work.
The fix add a check to stop the second thread after 15 seconds.
@lawrence-andrew please take a look and confirm that it will work fine on your system
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/5587/head:pull/5587
$ git checkout pull/5587
Update a local copy of the PR:
$ git checkout pull/5587
$ git pull https://git.openjdk.java.net/jdk pull/5587/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 5587
View PR using the GUI difftool:
$ git pr show -t 5587
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/5587.diff