RFR: 8364735: [asan] heap-use-after-free error detected in defaultStream::writer during VM shutdown

David Holmes dholmes at openjdk.org
Wed Aug 20 13:04:38 UTC 2025


On Wed, 20 Aug 2025 04:42:23 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> flush, sure.  but closing and deleting seems to be asking for trouble.
>
> I agree with @kimbarrett . Apart from stability, it is also just unnecessary work.

We have been doing it for a very long time now and aside from this order-of-operations issue it has worked fine. Changing that aspect of it seems a complete unknown to me and not worth any potential risk. And we delete a lot of things at VM shutdown.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26832#discussion_r2288095772


More information about the hotspot-dev mailing list