[crac] RFR: 8361090: [CRaC] Make dev engines less confusing

Radim Vansa rvansa at openjdk.org
Tue Jul 1 09:00:54 UTC 2025


On Mon, 30 Jun 2025 17:21:50 GMT, Timofei Pushkin <tpushkin at openjdk.org> wrote:

> - Makes `pauseengine` Linux-only since it is not fully implemented on MacOS and Windows
>    - Also moves `criuengine` sources from `unix` to `linux` directory since it only supports Linux anyway
> - Makes `simengine` and `pausengine` report errors and status in more details

src/java.base/linux/native/pauseengine/pauseengine.c line 68:

> 66:         fclose(pidfile);
> 67: 
> 68:         printf(PAUSEENGINE "pausing the process, restore in another process to unpause it\n");

I would rather see all these logging messages going into `stderr`.

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

PR Review Comment: https://git.openjdk.org/crac/pull/239#discussion_r2176883220


More information about the crac-dev mailing list