[crac] RFR: Handle open file descriptors with configurable policies [v9]
Anton Kozlov
akozlov at openjdk.org
Mon Jul 17 16:03:27 UTC 2023
On Mon, 17 Jul 2023 10:39:10 GMT, Radim Vansa <rvansa at openjdk.org> wrote:
> Since non-appending mode is the default, I'll try to use another resource with lower priority to create the FileChannel so that it can be used later on by the actual FOS resource.
Hope your approach won't require too many changes. I think appending mode will be more common among FOSes which will be attempted configured with policies. For example, log files are usually held indefinetely open in append mode. While randomly accessed files are likely to be related to some work in progress state, and may require more complex handling. So limiting implementation of policies for appending FOSes will be simple yet useful.
-------------
PR Review Comment: https://git.openjdk.org/crac/pull/69#discussion_r1265581921
More information about the crac-dev
mailing list