Skip to content

Commit 4577147

Browse files
committed
8313712: [BACKOUT] 8313632: ciEnv::dump_replay_data use fclose
Reviewed-by: mikael
1 parent bb3aac6 commit 4577147

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/hotspot/share/ci/ciEnv.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -1708,10 +1708,8 @@ void ciEnv::dump_replay_data(int compile_id) {
17081708
fileStream replay_data_stream(replay_data_file, /*need_close=*/true);
17091709
dump_replay_data(&replay_data_stream);
17101710
tty->print_cr("# Compiler replay data is saved as: %s", buffer);
1711-
fclose(replay_data_file);
17121711
} else {
17131712
tty->print_cr("# Can't open file to dump replay data.");
1714-
close(fd);
17151713
}
17161714
}
17171715
}
@@ -1734,10 +1732,8 @@ void ciEnv::dump_inline_data(int compile_id) {
17341732
replay_data_stream.flush();
17351733
tty->print("# Compiler inline data is saved as: ");
17361734
tty->print_cr("%s", buffer);
1737-
fclose(inline_data_file);
17381735
} else {
17391736
tty->print_cr("# Can't open file to dump inline data.");
1740-
close(fd);
17411737
}
17421738
}
17431739
}

0 commit comments

Comments
 (0)