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

Per Liden pliden at openjdk.java.net
Thu Jan 28 08:01:46 UTC 2021


On Fri, 22 Jan 2021 11:18:55 GMT, Per Liden <pliden at openjdk.org> wrote:

>> So we have to penalize all correctly functioning users because of one broken environment? Can we not detect this broken environment at startup and inject a workaround then?
>> 
>> Why is this an environment that is important enough that OpenJDK has to make changes to deal with a broken environment?
>> 
>> Cheers,
>> David
>
> @dholmes-ora Do you still have questions or concerns here, or can I go ahead and integrate this?
> 
> I've gone through all uses of sysconf(_SC_NPROCESSORS_*) and sched_getaffinity() we have, and they look fine. I've also looked at how the OSContainer stuff behaves in this environment, and it also looks fine. In summary, the only problem I can spot is related to sched_getcpu().

Ok, thanks all for reviewing.

-------------

PR: https://git.openjdk.java.net/jdk16/pull/124



More information about the hotspot-gc-dev mailing list