RFR(s): 8181319: Make os::Linux::sched_getcpu() available even when UseNUMA is false

David Holmes david.holmes at oracle.com
Thu Jun 1 01:42:41 UTC 2017

Hi Per,

On 31/05/2017 9:59 PM, Per Liden wrote:
> Hi,
> The initialization/availability of os::Linux::sched_getcpu() is today 
> guarded by UseNUMA. While NUMA-related code is currently the only user 
> of sched_getcpu(), this function is useful in many other situations as 
> well. I propose that we initialize os::Linux::sched_getcpu() regardless 
> of whether UseNUMA is enabled or not.

Looks fine.


> Bug: https://bugs.openjdk.java.net/browse/JDK-8181319
> Webrev: http://cr.openjdk.java.net/~pliden/8181319/webrev.0/
> Testing: JPRT, ad-hoc runs using ParallelGC with and without UseNUMA
> cheers,
> Per

More information about the hotspot-runtime-dev mailing list