RFR: 8364735: [asan] heap-use-after-free error detected in defaultStream::writer during VM shutdown [v2]
David Holmes
dholmes at openjdk.org
Fri Sep 5 00:17:08 UTC 2025
On Thu, 4 Sep 2025 08:47:57 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
>> David Holmes has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
>>
>> - Merge branch 'master' into 8364735-xtty
>> - 8364735: [asan] heap-use-after-free error detected in defaultStream::writer during VM shutdown
>
> Okay. I would like it more if these objects were immortal.
>
> Side note, I would love some concept of immortal objects at some point; a way to clearly indicate (and assert) that we intend to keep an object around forever.
Thanks for the review @tstuefe .
In this case it not just dealing with immortality but also the necessary cleanup at shutdown.
@jdksjolen thanks for the remind about `DeferredStatic` - I have some global Semaphores that need protecting. :)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26832#issuecomment-3256559189
More information about the hotspot-dev
mailing list