[8u] RFR for JDK-6515172: Runtime.availableProcessors() ignores Linux taskset command

Shafi Ahmad shafi.s.ahmad at oracle.com
Thu Sep 15 06:40:37 UTC 2016


Please review the backport [modified] of bug: "JDK-6515172 Runtime.availableProcessors() ignores Linux taskset command" to jdk8u.

Please note that the backport is not clean and we can't do as it is. Please note 
  1. The changes are made by 'Andreas Eriksson' who left Oracle.
  2. There is difference in logging mechanism in jdk9 and jdk8 is different and file logTag.hpp doesn't exists in jdk8.
  3. Newly added test pass after this change. It fails without this change.

Webrev link: http://cr.openjdk.java.net/~shshahma/8154324/webrev.02/
Jdk9 bug: https://bugs.openjdk.java.net/browse/JDK-6515172
Original patch pushed to jdk9: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/c5480d4abfe4

Testing: jprt and running jtreg.


More information about the hotspot-dev mailing list