Appendix D. Deprecated Thread Methods

Josh Bloch [1] wrote the following article to explain why the Thread.stop, Thread.suspend, Thread.resume, and Runtime.runFinalizersOnExit methods were deprecated in the 1.1 release of the Java™ platform.

[1] Josh Bloch is a Senior Engineer at Sun Microsystems and the designer of the Collections package.

Deprecated Thread Methods

Why Is Thread.stop Deprecated?

Could I Catch the ThreadDeath Exception and Fix the Damaged Object?

Why are Thread.suspend and Thread.resume Deprecated?

What Should I Use Instead of Thread.suspend and Thread.resume?

What about Thread.destroy?

Why Is Runtime.runFinalizersOnExit Deprecated?

Категории