Integrated: 8349571: Remove JavaThreadFactory interface from SA
Chris Plummer
cjplummer at openjdk.org
Wed Feb 12 19:31:17 UTC 2025
On Thu, 6 Feb 2025 23:22:25 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> The SA JavaThreadFactory interface is no longer used, so it is being removed. I stumbled on it while looking at JavaThread related code. It looks like its 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 of [JDK-8348347](https://bugs.openjdk.org/browse/JDK-8348347).
This pull request has now been integrated.
Changeset: 2a5d1da3
Author: Chris Plummer <cjplummer at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/2a5d1da3355a4df3109ec42646b5b0cf088b4c2a
Stats: 40 lines in 2 files changed: 0 ins; 40 del; 0 mod
8349571: Remove JavaThreadFactory interface from SA
Reviewed-by: kevinw, sspitsyn
-------------
PR: https://git.openjdk.org/jdk/pull/23505
More information about the serviceability-dev
mailing list