[jdk16] RFR: 8259765: ZGC: Handle incorrect processor id reported by the operating system

Florian Weimer fweimer at redhat.com
Tue Jan 19 10:23:34 UTC 2021


* Per Liden:

> Glibc's tst-getcpu.c (which I assume is the test you are referring
> to?) fails in their environment, so it seems like the affinity mask
> isn't reliable either.

What's the nature of the failure?  If it's due to a non-changing
affinity mask, then using sched_getaffinity data would still be okay.

Do you have any guidance from Virtuozzo what should be done here?

Incorrect handling of affinities is a bit concerning because it breaks
some (not entirely unreasonable) concurrency algorithms.

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill




More information about the hotspot-gc-dev mailing list