Skip to content
欢迎扫码关注公众号

JEP 479: Remove the Windows 32-bit x86 Port | 移除 Windows 32 位 x86 端口

概述

移除对 Windows 32 位 x86 端口的源代码和构建支持。该端口已在 JDK 21 中被标记为废弃,计划在未来版本中移除。

目标

  • 移除仅适用于 Windows 32 位 x86 的所有代码路径。

  • 停止针对 Windows 32 位 x86 平台的所有测试和开发工作。

  • 简化 JDK 的构建和测试基础设施。

非目标

  • 不计划移除或更改除 Windows 以外任何平台的 32 位支持。

  • 不计划移除以前版本中的 Windows 32 位的代码或支持。

动机

  • 允许 OpenJDK 社区的贡献者加速新功能和增强功能的发展,推动平台前进。

  • JEP 436(虚拟线程) 在 Windows x86-32 上的实现回退到使用内核线程,因此未能带来 Project Loom 预期的好处。

  • 支持 32 位操作的最后一个 Windows 操作系统——Windows 10,将在 2025 年 10 月 结束其生命周期。

描述

  • 查找并移除代码库中仅适用于 Windows 32 位的所有代码路径。

  • 修改 JDK 构建系统以移除对在 Windows 32 位平台上编译的支持,并停止对该架构的测试活动。

  • 更新 JDK 文档以反映 Windows 32 位支持的移除,并公布此变更,确保用户和开发者的顺利过渡。

风险和假设

一些用户可能仍然依赖于 Windows 上的 32 位 Java 应用程序。这一变化要求运行在 32 位 Windows 上的 Java 应用程序迁移到 64 位 JDK 和 Windows 环境,或者继续使用 JDK 23 之前的旧版 JDK,这些版本仍包含 32 位支持。由 JDK 二进制文件分发商和供应商提供的过渡指导和支持将至关重要。

Page Layout Max Width

Adjust the exact value of the page width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the page layout
A ranged slider for user to choose and customize their desired width of the maximum width of the page layout can go.

Content Layout Max Width

Adjust the exact value of the document content width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the content layout
A ranged slider for user to choose and customize their desired width of the maximum width of the content layout can go.