Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win11的64位笔记本电脑上配好JDK,输入java -version ,提示警告(使用Alibaba_Dragonwell_Extended_8.20.21_x64_windows.zip) #685

Open
qingzhoufanyue opened this issue Sep 27, 2024 · 2 comments

Comments

@qingzhoufanyue
Copy link

qingzhoufanyue commented Sep 27, 2024

输入java -version 提示警告
OpenJDK 64-Bit Server VM warning: Deactivate UseIOPrioritySizePolicy due to failed to parse cpu stat
openjdk version "1.8.0_422"
OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition 8.20.21) (build 1.8.0_422-b01)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition 8.20.21) (build 25.422-b01, mixed mode)

使用Alibaba_Dragonwell_Standard_8.20.21_x64_windows.zip,输入java -version 没有警告了,如果使用Alibaba_Dragonwell_Extended_8.20.21_x64_windows.zip,输入java -version 就有警告,如何消除警告?

@qingzhoufanyue qingzhoufanyue changed the title win11的64位笔记本电脑上配好JDK,输入jave -version ,提示警告 win11的64位笔记本电脑上配好JDK,输入java -version ,提示警告 Sep 27, 2024
@qingzhoufanyue qingzhoufanyue changed the title win11的64位笔记本电脑上配好JDK,输入java -version ,提示警告 win11的64位笔记本电脑上配好JDK,输入java -version ,提示警告(使用Alibaba_Dragonwell_Extended_8.20.21_x64_windows.zip) Oct 4, 2024
@qingzhoufanyue qingzhoufanyue reopened this Oct 4, 2024
@sanhong
Copy link
Collaborator

sanhong commented Oct 7, 2024

UseIOPrioritySizePolicy doesn't work on Window platform
Might be related to this commit:
#661
@weixlu

@weixlu
Copy link
Collaborator

weixlu commented Oct 21, 2024

@qingzhoufanyue 你好,不好意思这个日志给你带来困扰了

  1. 首先它只是一个日志的报错提醒,不影响功能的正常的使用的
  2. UseIOPrioritySizePolicy这个特性不支持windows,应当在windows平台自动关闭相关日志,但是我遗漏了这件事。我会在下一次发布时补上

weixlu added a commit that referenced this issue Oct 21, 2024
Summary: do not enable IOPrioritySizePolicy automatically on windows
Testing: jtreg
Reviewers: yyang, yude.lyd
Issue: #685
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants