changeset 40930:3ef70f1039da

Merge
author dholmes
date Wed, 07 Sep 2016 23:17:24 +0200
parents 9a72c96b0c48 de043f8e5c04
children d4d2a4a0e023
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/os/linux/vm/os_linux.cpp	Wed Sep 07 19:29:01 2016 +0000
+++ b/hotspot/src/os/linux/vm/os_linux.cpp	Wed Sep 07 23:17:24 2016 +0200
@@ -2875,7 +2875,7 @@
                               // in the library.
   const size_t BitsPerCLong = sizeof(long) * CHAR_BIT;
 
-  size_t cpu_num = os::active_processor_count();
+  size_t cpu_num = processor_count();
   size_t cpu_map_size = NCPUS / BitsPerCLong;
   size_t cpu_map_valid_size =
     MIN2((cpu_num + BitsPerCLong - 1) / BitsPerCLong, cpu_map_size);