Re: RFR: 8249627: Degrade Thread.suspend and Thread.resume [v3]

2022-09-27 Thread Alan Bateman
On Sat, 24 Sep 2022 06:50:45 GMT, Alan Bateman wrote: >> Degrade Thread.suspend/resume to throw UOE unconditionally. >> >> Another step in the removal of this deadlock prone mis-feature from the >> user-facing API. Thread.suspend/resume have been deprecated since JDK 1.2 >> (1998) and terminal

Re: RFR: 8249627: Degrade Thread.suspend and Thread.resume [v3]

2022-09-26 Thread David Holmes
On Sat, 24 Sep 2022 06:50:45 GMT, Alan Bateman wrote: >> Degrade Thread.suspend/resume to throw UOE unconditionally. >> >> Another step in the removal of this deadlock prone mis-feature from the >> user-facing API. Thread.suspend/resume have been deprecated since JDK 1.2 >> (1998) and terminal

Re: RFR: 8249627: Degrade Thread.suspend and Thread.resume [v2]

2022-09-23 Thread Alan Bateman
On Fri, 23 Sep 2022 13:57:56 GMT, Alan Bateman wrote: >> Degrade Thread.suspend/resume to throw UOE unconditionally. >> >> Another step in the removal of this deadlock prone mis-feature from the >> user-facing API. Thread.suspend/resume have been deprecated since JDK 1.2 >> (1998) and terminal

Re: RFR: 8249627: Degrade Thread.suspend and Thread.resume [v3]

2022-09-23 Thread Alan Bateman
> Degrade Thread.suspend/resume to throw UOE unconditionally. > > Another step in the removal of this deadlock prone mis-feature from the > user-facing API. Thread.suspend/resume have been deprecated since JDK 1.2 > (1998) and terminally deprecated since Java 14. ThreadGroup.suspend/resume > we

Re: RFR: 8249627: Degrade Thread.suspend and Thread.resume [v2]

2022-09-23 Thread Serguei Spitsyn
On Fri, 23 Sep 2022 13:57:56 GMT, Alan Bateman wrote: >> Degrade Thread.suspend/resume to throw UOE unconditionally. >> >> Another step in the removal of this deadlock prone mis-feature from the >> user-facing API. Thread.suspend/resume have been deprecated since JDK 1.2 >> (1998) and terminal

Re: RFR: 8249627: Degrade Thread.suspend and Thread.resume [v2]

2022-09-23 Thread Alan Bateman
> Degrade Thread.suspend/resume to throw UOE unconditionally. > > Another step in the removal of this deadlock prone mis-feature from the > user-facing API. Thread.suspend/resume have been deprecated since JDK 1.2 > (1998) and terminally deprecated since Java 14. ThreadGroup.suspend/resume > we

Re: RFR: 8249627: Degrade Thread.suspend and Thread.resume

2022-09-22 Thread Jaikiran Pai
On Sun, 18 Sep 2022 16:32:31 GMT, Alan Bateman wrote: > Degrade Thread.suspend/resume to throw UOE unconditionally. > > Another step in the removal of this deadlock prone mis-feature from the > user-facing API. Thread.suspend/resume have been deprecated since JDK 1.2 > (1998) and terminally de

Re: RFR: 8249627: Degrade Thread.suspend and Thread.resume

2022-09-22 Thread Alan Bateman
On Thu, 22 Sep 2022 07:57:38 GMT, David Holmes wrote: > Why is stop being removed in this PR? It's just the sequencing of the two PRs and avoid merge conflicts. The Thread.stop should really edit this sentence, then this PR will edit it again. It was simpler to just do the SM edits in one PR.

Re: RFR: 8249627: Degrade Thread.suspend and Thread.resume

2022-09-22 Thread David Holmes
On Sun, 18 Sep 2022 16:32:31 GMT, Alan Bateman wrote: > Degrade Thread.suspend/resume to throw UOE unconditionally. > > Another step in the removal of this deadlock prone mis-feature from the > user-facing API. Thread.suspend/resume have been deprecated since JDK 1.2 > (1998) and terminally de

Re: RFR: 8249627: Degrade Thread.suspend and Thread.resume

2022-09-22 Thread Jaikiran Pai
On Sun, 18 Sep 2022 16:32:31 GMT, Alan Bateman wrote: > Degrade Thread.suspend/resume to throw UOE unconditionally. > > Another step in the removal of this deadlock prone mis-feature from the > user-facing API. Thread.suspend/resume have been deprecated since JDK 1.2 > (1998) and terminally de

Re: RFR: 8249627: Degrade Thread.suspend and Thread.resume

2022-09-21 Thread Serguei Spitsyn
On Sun, 18 Sep 2022 16:32:31 GMT, Alan Bateman wrote: > Degrade Thread.suspend/resume to throw UOE unconditionally. > > Another step in the removal of this deadlock prone mis-feature from the > user-facing API. Thread.suspend/resume have been deprecated since JDK 1.2 > (1998) and terminally de

Re: RFR: 8249627: Degrade Thread.suspend and Thread.resume

2022-09-21 Thread Chris Plummer
On Sun, 18 Sep 2022 16:32:31 GMT, Alan Bateman wrote: > Degrade Thread.suspend/resume to throw UOE unconditionally. > > Another step in the removal of this deadlock prone mis-feature from the > user-facing API. Thread.suspend/resume have been deprecated since JDK 1.2 > (1998) and terminally de

Re: RFR: 8249627: Degrade Thread.suspend and Thread.resume

2022-09-21 Thread Stuart Marks
On Sun, 18 Sep 2022 16:32:31 GMT, Alan Bateman wrote: > Degrade Thread.suspend/resume to throw UOE unconditionally. > > Another step in the removal of this deadlock prone mis-feature from the > user-facing API. Thread.suspend/resume have been deprecated since JDK 1.2 > (1998) and terminally de

RFR: 8249627: Degrade Thread.suspend and Thread.resume

2022-09-21 Thread Alan Bateman
Degrade Thread.suspend/resume to throw UOE unconditionally. Another step in the removal of this deadlock prone mis-feature from the user-facing API. Thread.suspend/resume have been deprecated since JDK 1.2 (1998) and terminally deprecated since Java 14. ThreadGroup.suspend/resume were degraded