See https://bugs.openjdk.org/browse/JDK-8332360, especially [~dholmes] comment https://bugs.openjdk.org/browse/JDK-8332360?focusedId=14674096&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14674096
is_MP is used to determine whether we run on a multi-processor machine. It only looks at the number of physically available cores. If one limits the number of CPUs available to the process, e.g., with taskset, it won't notice. That makes it rather difficult to easily mimic a uniprocessor system using taskset for tests.
Task:
- redefine is_MP to react on taskset (e.g. by making it depend on available_processors)
- run tests and investigate any errors this shakes up
- run tests with jtreg isolated on a single core, and fix or problemlist any errors
is_MP is used to determine whether we run on a multi-processor machine. It only looks at the number of physically available cores. If one limits the number of CPUs available to the process, e.g., with taskset, it won't notice. That makes it rather difficult to easily mimic a uniprocessor system using taskset for tests.
Task:
- redefine is_MP to react on taskset (e.g. by making it depend on available_processors)
- run tests and investigate any errors this shakes up
- run tests with jtreg isolated on a single core, and fix or problemlist any errors
- relates to
-
JDK-8332360 JVM hangs at exit when running on a uniprocessor
- Resolved