-
Notifications
You must be signed in to change notification settings - Fork 728
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
DDR vthreads command no longer works #17084
Comments
@thallium Can you provide links to the PRs where I don't believe |
Alone For the JDK19 release, the easiest approach would be to disable the |
I agree with @babsingh , Without |
Unfortunately, if the standard were that it was "formally documented", we would have very few commands. I don't think that's a helpful measure. Yes, the output of |
JDK19 is the first Openj9 release where |
This sort of thing is for VM developers, not users. Why would we document it at all (other than in the !help list)? |
There is no fixed schedule other than asap. We are waiting for the things in the milestone plan to be resolved in order to proceed with RC1. Typically we allow DDR updates to occur after a release since you can use a later build to investigate core files created by earlier builds. Are there quick updates we can make as Keith suggests in #17084 (comment), or is it better to defer this? |
#17093 should be the first preference. @keithc-ca Let us know if #17093 is close to being merged. If not, we can explore the |
It should be noted that both of these solutions are unrealible if the heap is in a bad state (i.e. in the middle of a GC). The JVMTI code also flushes some GC stuff before walking the continuation list, which DDR will of course not be able to do. I have no solution for this. |
Option 1: We can invoke j9gc_flush_nonAllocationCaches_for_walk prior to system dump (core file) generation. There will be a timing gap if the system dump is not created under exclusive VM access i.e the GC will be able to update the continuation list. Option 2: Iterate through GC's nonAllocationCaches in DDR. @amicic @LinHu2016 @dmitripivkine for thoughts? |
Yes, I expect it's close. |
I believe nonAllocationCaches should be flushed already before core generation. There is very similar logic for Ownable Synchronizers lists in gccheck can be used as example. |
Fixes eclipse-openj9#17084 Signed-off-by: Gengchen Tuo <[email protected]>
Reopen until we have the backport in 0.37 |
Fixes eclipse-openj9#17084 Signed-off-by: Gengchen Tuo <[email protected]>
Fixes eclipse-openj9#17084 Signed-off-by: Gengchen Tuo <[email protected]>
Fixes eclipse-openj9#17084 Signed-off-by: Gengchen Tuo <[email protected]>
Fixes eclipse-openj9#17084 Signed-off-by: Gengchen Tuo <[email protected]>
Java -version output
Summary of problem
Core dumps created by VM which include the changes in #16855 will not have the field
J9JavaVM.virtualThreadLinkNextOffset
. Attempts to use the!vthreads
command will always just fail:The text was updated successfully, but these errors were encountered: