RFR: 8369418: Identify owning class for KlassTrainingData in AOT map output [v2]

duke duke at openjdk.org
Fri Oct 10 08:32:23 UTC 2025


On Thu, 9 Oct 2025 17:48:00 GMT, María Arias de Reyna Domínguez <duke at openjdk.org> wrote:

>> Contains patches for: https://bugs.openjdk.org/browse/JDK-8363440
>> Fixes: https://bugs.openjdk.org/browse/JDK-8369418
>> 
>> Right now, the AOT Map displays the KlassTrainingData like this:
>> 
>> 
>> 0x00000008002aa5e0: @@ KlassTrainingData 40
>> 0x00000008002ac260: @@ KlassTrainingData 40
>> 
>> 
>> which doesn't provide any context on what class is this training for.
>> 
>> Modify the AOT Map Logger so we can link the class to its training data:
>> 
>> 
>> 0x00000008007d5940: @@ KlassTrainingData 40 jdk.internal.loader.BuiltinClassLoader
>> 0x0000000800815398: @@ KlassTrainingData 40 java.lang.invoke.DirectMethodHandle
>> 0x00000008008791f0: @@ KlassTrainingData 40 java.util.HashSet
>> 0x00000008008bd980: @@ KlassTrainingData 40 java.lang.module.ModuleDescriptor$Exports
>> 0x00000008008db8e8: @@ KlassTrainingData 40 java.lang.invoke.InvokerBytecodeGenerator
>
> María Arias de Reyna Domínguez has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Changing the include by a forward declaration

@Delawen 
Your change (at version 5ee2f0ea3c042a614b28d5dd430360d91097b881) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/27715#issuecomment-3388860107


More information about the hotspot-runtime-dev mailing list