changeset 40929 | de043f8e5c04 |
parent 40667 | f9cf2db7f59f |
child 41070 | 496463b4e206 |
--- a/hotspot/src/os/linux/vm/os_linux.cpp Wed Sep 07 12:52:20 2016 -0400 +++ b/hotspot/src/os/linux/vm/os_linux.cpp Wed Sep 07 16:43:32 2016 -0400 @@ -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);