Integrated: JDK-8313632: ciEnv::dump_replay_data use fclose
Matthias Baesken
mbaesken at openjdk.org
Thu Aug 3 12:05:38 UTC 2023
On Thu, 3 Aug 2023 08:43:03 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> Seems we miss to call fclose at the end of ciEnv::dump_replay_data .
> This should better be done like it is documented here in the fdopen example :
> https://www.ibm.com/docs/en/i/7.3?topic=functions-fdopen-associates-stream-file-descriptor
>
> I also added close calls in case fdopen fails, should we use them too?
This pull request has now been integrated.
Changeset: 0f2fce71
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/0f2fce71680355412896b2cb2d96cc85f69324e7
Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
8313632: ciEnv::dump_replay_data use fclose
Reviewed-by: thartmann, lucy
-------------
PR: https://git.openjdk.org/jdk/pull/15135
More information about the hotspot-compiler-dev
mailing list