changeset 11952:5b52605562b0

Merge
author dholmes
date Wed, 07 Sep 2016 23:17:24 +0200
parents b6fea183465f 0fc5c6ca654e
children b69381e24635
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/os/linux/vm/os_linux.cpp	Wed Sep 07 19:29:01 2016 +0000
+++ b/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);