Comments (5)
Hi dhxsy1994, thanks for reporting!
Unfortunately, I cannot find a powerful machine like yours to reproduce this case.
the warning was produced by this code.
As I read from the code and Linux manual (man 3 CPU_SET), the maximum number of processors currently supported by CPU affinity is 1024
(CPU_SETSIZE). Are you suggesting that something is wrong with handling the 1024th core?
from dragonwell8.
The range of cpu number is 0~1023, sched_getaffinity() may not work with the 1024th cpu, this processor is not online. Maybe this warning is not important, many versions have this warning with my test. Thanks!
from dragonwell8.
The range of cpu number is 0~1023, sched_getaffinity() may not work with the 1024th cpu, this processor is not online. Maybe this warning is not important, many versions have this warning with my test. Thanks!
Indeed, Dragonwell does not ship any processors related patches in the GA release, it's behavior ought to exactly the same as the reference implementation. I was just trying to figure out whether sched_getaffinity() and JDK's behavior was correct about the 1024th (id=1024) cpu.
If it looks like incorrect behavior, maybe we should raise a bug to upstream OpenJDK.
from dragonwell8.
I'm closing this issue, since it sounds like a problem upstream OpenJDK also has, please re-open if you feel that we should do something in Dragonwell.
Thanks
from dragonwell8.
The topic is back:
My CPU: Intel(R) Core(TM)2 Duo CPU E8400
Kernel: 6.1.1
OS: OpenSUSE Leap 15.2
java: java 19 2022-09-20
Java (TM) SE Runtime Environment (build 19+36-2238)
Java HotSpot(TM) 64-Bit Server VM (build 19+36-2238, mixed
mode, sharing)
Since kernel 6.1.0 I see: Java HotSpot(TM) 64-Bit Server VM warning: sched_getaffinity failed (Invalid argument)- using online processor count (2) which may exceed available processors
On kernel 6.0.12 and older: issue not observable
I jumped directly from 6.0.12 to 6.1.0 and then to 6.1.1
My interpretation: something in recent kernel interfaces to USER world irritates JAVA.
from dragonwell8.
Related Issues (20)
- [Bug][Dragonwell Extended Edition 8.16.17]jck8d测试PackageTests未抛出IllegalArgumentException异常 HOT 2
- [Bug]jck8d测试报错internal error: SHA-1 not available HOT 1
- [Bug] Build failure on windows HOT 1
- [regress]sanity.system多个用例报错java.lang.BootstrapMethodError: java.lang.ExceptionInInitializerError HOT 1
- [TESTBUG][CI]runtime/coroutine/c1AssertFailTest.sh健壮性不够导致用例随机失败
- [upstream]tools/pack200/Pack200Test.java在ecs.c7.8xlarge规格ecs环境上运行报错 HOT 1
- [Bug]-Xcomp选项com/alibaba/wisp/monitor/FinalizerTest.java小概率随机超时
- [upstream]8.16.17(1.8.0_392)新增9个失败 HOT 1
- [Bug] 端口号8780被JMX占用时,将导致dump失败 HOT 1
- mac m1 怎么编译安装啊?
- [upstream]compiler/rangechecks/RangeCheckEliminationScaleNotOne.java timeout with -Xcomp HOT 1
- [nightly]elastic-heap/TestElasticHeapErrorCode.java编译报错package jdk.test.lib does not exist HOT 3
- [dragonwell8][extended][x86]物理机SPECjbb2015 critical性能相比最新上游版本高出16.8% HOT 1
- Wisp 不支持 SSLServerSocket ? HOT 1
- jdk-api 版本问题 HOT 1
- Resolve conflicts for README.md
- [Bug] eagerappcds 与transmittable-thread-local的 agent 无法兼容 HOT 1
- [Conflict] 同时使用JacocoAgent参数和XquickStart参数启动时报错 HOT 6
- 删除废弃的测试用例hotspot/test/runtime/coroutine/c1AssertFailTest.sh
- SPECjbb2015运行超过5h未结束,且进程未再输出日志 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dragonwell8.