[crac] RFR: RFC: -XX:CPUFeatures=0xnumber for CPU migration [v2]

Jan Kratochvil duke at openjdk.org
Mon Feb 13 05:18:54 UTC 2023


On Thu, 9 Feb 2023 13:59:34 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

> But here, re-exec seems more simple solution.

OK, if the glibc upstreaming files then there is at least agreement on this way forward. Also maybe OpenJDK should use that anyway to be compatible with older (current) glibc versions.

> That would also make `Freeze` mechanism unnecessary, as I understand that is another implementation of safepoint.

I was originally expecting all threads are at a safepoint during CRaC snapshot. But in practice I have found out they are not. This is why I had to implement the `Freeze` mechanism. Is there some way to stop all the threads at a safepoint?

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

PR: https://git.openjdk.org/crac/pull/41


More information about the crac-dev mailing list