-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8316397: StackTrace/Suspended/GetStackTraceSuspendedStressTest.java failed with: SingleStep event is NOT expected #23490
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
Changes from all commits
f8860b4
d6318dc
c36f318
d2b7687
2e099aa
94cfbd5
d6c647a
39e8d74
cdb4768
67277db
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -309,7 +309,11 @@ class JvmtiExport : public AllStatic { | |
| // If the jvmti_thread_state is absent and any thread filtered event | ||
| // is enabled globally then it is created. | ||
| // Otherwise, the thread->jvmti_thread_state() is returned. | ||
| static JvmtiThreadState* get_jvmti_thread_state(JavaThread *thread); | ||
| // The 'allow_suspend' parameter is passed as 'true' by default which work for almost all call sites. | ||
| // It means that a suspend point need to be organized by this function for virtual threads if the call | ||
| // to jvmtiEventController::thread_started hits a safepoint and gets a new suspend request. | ||
| // The 'allow_suspend' parameter must be passed as 'false' if thread is holding a VM lock. | ||
| static JvmtiThreadState* get_jvmti_thread_state(JavaThread *thread, bool allow_suspend = true); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add a detailed comment on what the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good suggestion, thanks! Will add a comment. |
||
|
|
||
| // single stepping management methods | ||
| static void at_single_stepping_point(JavaThread *thread, Method* method, address location) NOT_JVMTI_RETURN; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.