[crac] Integrated: 8374614: [CRaC] Remove defunct fdinfo marking

Radim Vansa rvansa at openjdk.org
Fri Jan 9 14:59:03 UTC 2026


On Tue, 6 Jan 2026 14:21:00 GMT, Radim Vansa <rvansa at openjdk.org> wrote:

> When initializing fdinfos, there might be a racy native thread closing FD between enumerating FDs and `readlink /proc/self/fd/XXX`, causing an error and assertion to fail.
> 
> Further looking into the code it seems that the fdinfo::mark is not read since https://github.com/openjdk/crac/commit/4b0dc2dc9722945579c9772b335a44fa79f1729f and therefore the whole check is defunct, and can be removed.

This pull request has now been integrated.

Changeset: 229431db
Author:    Radim Vansa <rvansa at openjdk.org>
URL:       https://git.openjdk.org/crac/commit/229431db7276118ec1bb9608fa1194b171df07ec
Stats:     45 lines in 1 file changed: 0 ins; 45 del; 0 mod

8374614: [CRaC] Remove defunct fdinfo marking

Reviewed-by: tpushkin

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

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


More information about the crac-dev mailing list