1.1 --- a/common/autoconf/generated-configure.sh Thu Aug 15 02:50:53 2019 +0100 1.2 +++ b/common/autoconf/generated-configure.sh Thu Aug 22 17:51:13 2019 +0100 1.3 @@ -3647,7 +3647,7 @@ 1.4 1.5 1.6 # 1.7 -# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. 1.8 +# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved. 1.9 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.10 # 1.11 # This code is free software; you can redistribute it and/or modify it 1.12 @@ -4376,7 +4376,7 @@ 1.13 #CUSTOM_AUTOCONF_INCLUDE 1.14 1.15 # Do not change or remove the following line, it is needed for consistency checks: 1.16 -DATE_WHEN_GENERATED=1560366811 1.17 +DATE_WHEN_GENERATED=1565358475 1.18 1.19 ############################################################################### 1.20 # 1.21 @@ -51978,8 +51978,11 @@ 1.22 NUM_CORES=`/usr/sbin/system_profiler -detailLevel full SPHardwareDataType | grep 'Cores' | awk '{print $5}'` 1.23 FOUND_CORES=yes 1.24 elif test "x$OPENJDK_BUILD_OS" = xaix ; then 1.25 - NUM_CORES=`/usr/sbin/prtconf | grep "^Number Of Processors" | awk '{ print $4 }'` 1.26 - FOUND_CORES=yes 1.27 + NUM_LCPU=`lparstat -m 2> /dev/null | $GREP -o "lcpu=[0-9]*" | $CUT -d "=" -f 2` 1.28 + if test -n "$NUM_LCPU"; then 1.29 + NUM_CORES=$NUM_LCPU 1.30 + FOUND_CORES=yes 1.31 + fi 1.32 elif test -n "$NUMBER_OF_PROCESSORS"; then 1.33 # On windows, look in the env 1.34 NUM_CORES=$NUMBER_OF_PROCESSORS