-
Notifications
You must be signed in to change notification settings - Fork 738
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
Fix JFR timestamps #20049
Fix JFR timestamps #20049
Conversation
jenkins test sanity xlinux jdk21 |
There's a vast amount of output from the build, but I can't see what failed. |
Found it:
|
The failures don't seem to be related to these changes (maybe the threadhelp one?) so I'll relaunch. |
jenkins test sanity xlinux jdk21 |
It's suspicious that the crash is throwing an exception and the new code added to threadhelp throws, but I don't see any obvious problem with the code (the throw appears to be done while holding VM access). |
It's also highly unlikely that the nanos call would faIl resulting in the throw. |
jenkins test sanity xlinux jdk21 |
Set the ticks/second parameter in the chunk header. This indicates which granularity we report timestamps (millis, micros or nanos). Note, this is not to be confused with the event startime which is always milliseconds. Also, chage threadsleep event to report on after the sleep as concluded which matches RI behaviour. The actual sleep duration must be recorded. Signed-off-by: tajila <atobia@ca.ibm.com>
jenkins test sanity xlinux jdk21 |
jenkins test sanity alinux64 jdk17 |
@tajila Are you confident the earlier crashes are either resolved or unrelated to this change? |
The crashes are related to the following
I undid the earlier change. combining the if blocks changes the logic |
Set the ticks/second parameter in the chunk header. This indicates which granularity we report timestamps (millis, micros or nanos). Note, this is not to be confused with the event startime which is always milliseconds.
Also, chage threadsleep event to report on after the sleep as concluded which matches RI behaviour. The actual sleep duration must be recorded.