RFR: 8369418: Identify owning class for KlassTrainingData in AOT map output [v2]
María Arias de Reyna Domínguez
duke at openjdk.org
Thu Oct 9 17:48:00 UTC 2025
> 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
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27715/files
- new: https://git.openjdk.org/jdk/pull/27715/files/06c4b672..5ee2f0ea
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27715&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27715&range=00-01
Stats: 3 lines in 2 files changed: 1 ins; 1 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/27715.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27715/head:pull/27715
PR: https://git.openjdk.org/jdk/pull/27715
More information about the hotspot-runtime-dev
mailing list