-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
8345500: Timeout in jdk.jfr.api.consumer.streaming.TestJVMCrash #23163
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back gziemski! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
@gerard-ziemski The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
I don't think this is the correct way to fix the issue. Users may write code that doesn't wait 1 s and run into the same problem. Why shouldn't a client be able to poll repeatedly? Also, it's only a matter of time before it happens again, either because the hardware is slow or because the processes are starved due to other things running on the machine. |
To be honest I'm not 100% happy with the fix, it was just the simplest one that I could think of. Let me look into it a bit more. |
In this fix we add 1 second delay after we create a process.
On macOS we seem to be creating a process so quickly, that other threads need time to see it.
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/23163/head:pull/23163
$ git checkout pull/23163
Update a local copy of the PR:
$ git checkout pull/23163
$ git pull https://git.openjdk.org/jdk.git pull/23163/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 23163
View PR using the GUI difftool:
$ git pr show -t 23163
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/23163.diff
Using Webrev
Link to Webrev Comment