mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8268857: Merge VM_PrintJNI and VM_PrintThreads and remove the unused field 'is_deadlock' of DeadlockCycle
Reviewed-by: dholmes
This commit is contained in:
parent
1a818154cf
commit
1f0ea7c3d6
8 changed files with 18 additions and 46 deletions
|
@ -441,8 +441,6 @@ DeadlockCycle* ThreadService::find_deadlocks_at_safepoint(ThreadsList * t_list,
|
|||
// blocked permanently. We record this as a deadlock.
|
||||
num_deadlocks++;
|
||||
|
||||
cycle->set_deadlock(true);
|
||||
|
||||
// add this cycle to the deadlocks list
|
||||
if (deadlocks == NULL) {
|
||||
deadlocks = cycle;
|
||||
|
@ -484,8 +482,6 @@ DeadlockCycle* ThreadService::find_deadlocks_at_safepoint(ThreadsList * t_list,
|
|||
// We have a (new) cycle
|
||||
num_deadlocks++;
|
||||
|
||||
cycle->set_deadlock(true);
|
||||
|
||||
// add this cycle to the deadlocks list
|
||||
if (deadlocks == NULL) {
|
||||
deadlocks = cycle;
|
||||
|
@ -955,7 +951,6 @@ void ThreadSnapshot::metadata_do(void f(Metadata*)) {
|
|||
|
||||
|
||||
DeadlockCycle::DeadlockCycle() {
|
||||
_is_deadlock = false;
|
||||
_threads = new (ResourceObj::C_HEAP, mtServiceability) GrowableArray<JavaThread*>(INITIAL_ARRAY_SIZE, mtServiceability);
|
||||
_next = NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue