[crac] RFR: Correct System.nanotime() value after restore [v6]
Radim Vansa
duke at openjdk.org
Tue May 16 13:09:20 UTC 2023
On Tue, 16 May 2023 12:26:23 GMT, Jan Kratochvil <duke at openjdk.org> wrote:
>> How would you compile that library as part of of the jtreg? Just do `Runtime.getRuntime().exec("gcc", ...)` during the test? Can you create some native libraries as a part of the test library build?
>
> I do not know much jtreg. One can try `Runtime.getRuntime().exec("gcc", ...)` and Java experts can improve it later.
I've checked that test sources actually contain various *.c files, but it doesn't seem like this would be compiled from the test. It would make sense to do that from the Makefiles, but haven't found explicit mentions...
Anyway I find packaging stuff in containers quite convenient (and we don't have to add any extra C sources). I can add the released build of CRIU into the test-base image and remove the part mounting it from local system, would that work for you?
-------------
PR Review Comment: https://git.openjdk.org/crac/pull/53#discussion_r1195134303
More information about the crac-dev
mailing list