Skip to content

Commit

Permalink
fixed minimal build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sspitsyn committed Feb 19, 2024
1 parent 04da0cf commit 63706e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hotspot/share/runtime/threads.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,7 @@ void Threads::metadata_handles_do(void f(Metadata*)) {
threads_do(&handles_closure);
}

#if INCLUDE_JVMTI
// Get count Java threads that are waiting to enter or re-enter the specified monitor.
GrowableArray<JavaThread*>* Threads::get_pending_threads(ThreadsList * t_list,
int count,
Expand Down Expand Up @@ -1211,7 +1212,7 @@ GrowableArray<JavaThread*>* Threads::get_pending_threads(ThreadsList * t_list,

return result;
}

#endif // INCLUDE_JVMTI

JavaThread *Threads::owning_thread_from_monitor_owner(ThreadsList * t_list,
address owner) {
Expand Down

0 comments on commit 63706e5

Please sign in to comment.