With regard to the umbrella task JDK-8147905 please verify the use of processor_count() in the safepoint code:
./share/vm/runtime/safepoint.cpp: int ncpus = os::processor_count() ;
./share/vm/runtime/safepoint.cpp: int ncpus = os::processor_count() ;