-
Enhancement
-
Resolution: Fixed
-
P5
-
25
-
b10
The SA JavaThreadFactory interface is no longer used. It can be removed. I'm not sure of its history and how long ago it stopped being used. I just stumbled on it while looking at JavaThread related code. It looks like it's original purpose is related to JavaThread subclasses at one point being platform dependent, as described in the following JavaThread.java comment:
/** This is an abstract class because there are certain OS- and
CPU-specific operations (like the setting and getting of the last
Java frame pointer) which need to be factored out. These
operations are implemented by, for example,
SolarisSPARCJavaThread, and the concrete subclasses are
instantiated by the JavaThreadFactory in the Threads class. */
However, this is no longer the case, and this comment is being removed as part ofJDK-8348347.
/** This is an abstract class because there are certain OS- and
CPU-specific operations (like the setting and getting of the last
Java frame pointer) which need to be factored out. These
operations are implemented by, for example,
SolarisSPARCJavaThread, and the concrete subclasses are
instantiated by the JavaThreadFactory in the Threads class. */
However, this is no longer the case, and this comment is being removed as part of
- links to
-
Commit(master) openjdk/jdk/2a5d1da3
-
Review(master) openjdk/jdk/23505