RFR: 8358003: KlassTrainingData initializer reads garbage holder [v4]
Igor Veresov
iveresov at openjdk.org
Wed Jun 4 09:52:17 UTC 2025
On Wed, 4 Jun 2025 08:46:11 GMT, Igor Veresov <iveresov at openjdk.org> wrote:
>> Simplify KlassTrainingData constructor. The lines in question come from the old pre-CDS world. They are not needed anymore.
>
> Igor Veresov has updated the pull request incrementally with one additional commit since the last revision:
>
> More changes
We don't need to release them. KTDs are never destroyed. They just die with the process.
As for OopStorage @coleenp wants it. I gives a bit of an advantage that we can remove the handle field from KTD (since again, we don't ever need to free them).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25623#issuecomment-2939363346
More information about the hotspot-dev
mailing list