mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-14 18:03:44 +00:00
8301798: [BACKOUT] jdb ThreadStartRequest and ThreadDeathRequest should use SUSPEND_NONE instead of SUSPEND_ALL
Reviewed-by: dcubed, dholmes
This commit is contained in:
parent
e7247b10cc
commit
3be5317b59
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1998, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -36,7 +36,6 @@ package com.sun.tools.example.debug.tty;
|
||||
|
||||
import com.sun.jdi.*;
|
||||
import com.sun.jdi.connect.*;
|
||||
import com.sun.jdi.request.EventRequest;
|
||||
import com.sun.jdi.request.EventRequestManager;
|
||||
import com.sun.jdi.request.ThreadStartRequest;
|
||||
import com.sun.jdi.request.ThreadDeathRequest;
|
||||
@ -470,8 +469,6 @@ class VMConnection {
|
||||
|
||||
ThreadStartRequest tsr = erm.createThreadStartRequest();
|
||||
ThreadDeathRequest tdr = erm.createThreadDeathRequest();
|
||||
tsr.setSuspendPolicy(EventRequest.SUSPEND_NONE);
|
||||
tdr.setSuspendPolicy(EventRequest.SUSPEND_NONE);
|
||||
if (!trackVthreads) {
|
||||
tsr.addPlatformThreadsOnlyFilter();
|
||||
tdr.addPlatformThreadsOnlyFilter();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user