Skip to content

添加EnableX86ECoreOpts JVM参数#59

Open
fireboy637 wants to merge 1 commit intoCubic-Project:mainfrom
fireboy637:main
Open

添加EnableX86ECoreOpts JVM参数#59
fireboy637 wants to merge 1 commit intoCubic-Project:mainfrom
fireboy637:main

Conversation

@fireboy637
Copy link

只是一个小零食级别的JVM参数罢了。
在我的CPU上(Intel U7 255HX)获得约5%的提升(超平坦512村民,mspt 9.4 -> 8.9)。
本来这个参数应该自动启用,但由于在JVM内部这个的判断是硬编码的,导致我较新的Arrow Lake无法自动启用,参见https://bugs.openjdk.org/browse/JDK-8374926,故专门点出。

@wling-art wling-art added the type: documentation Pull request for improvements or additions to docs contents label Feb 4, 2026
@wling-art wling-art moved this to 进行中 in NitWikit TODOs Feb 4, 2026
@wling-art wling-art requested a review from Dreeam-qwq February 4, 2026 11:11
Copy link
Contributor

@Dreeam-qwq Dreeam-qwq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

最好是代一句,“可以获得数学运算上的微小性能提升”,毕竟从 JDK-8374926 里提供的 JMH 来看提升挺有限的。

而且~0.5mspt的区别基本可以被看作为误差,不确定有没有必要。

@HaHaWTH
Copy link
Contributor

HaHaWTH commented Feb 4, 2026

等强制要求Java25的26.1发release再作决定

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: documentation Pull request for improvements or additions to docs contents

Projects

Status: 进行中

Development

Successfully merging this pull request may close these issues.

4 participants