[crac] Integrated: Improve modules handling in initial FD bookkeeping
Anton Kozlov
akozlov at openjdk.org
Fri Apr 21 10:23:14 UTC 2023
On Thu, 20 Apr 2023 15:59:42 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:
> Replace paths comparision with `os::same_file` which compares paths first, then compares st_{ino,dev}. This makes the check a bit more robust and fixes CRaC example-lambda [1]
>
> Also, an annoying empty line is fixed in the warning, now that looks like:
>
> anton at mercury:~/proj/crac$ ./jdk/bin/java -XX:CRaCCheckpointTo=./cr -version
> [0.001s][warning][os] CRaC closing file descriptor 31: /dev/ptmx
> openjdk version "17-internal" 2021-09-14
> OpenJDK Runtime Environment (build 17-internal+0-adhoc..crac)
> OpenJDK 64-Bit Server VM (build 17-internal+0-adhoc..crac, mixed mode)
>
>
> [1] https://github.com/CRaC/example-lambda
This pull request has now been integrated.
Changeset: 95394e84
Author: Anton Kozlov <akozlov at openjdk.org>
URL: https://git.openjdk.org/crac/commit/95394e84683f1a816c0283f8c834072324516fba
Stats: 16 lines in 1 file changed: 8 ins; 6 del; 2 mod
Improve modules handling in initial FD bookkeeping
-------------
PR: https://git.openjdk.org/crac/pull/59
More information about the crac-dev
mailing list