-
Sub-task
-
Resolution: Unresolved
-
P4
-
26
MethodTrainingData and CompileTrainingData do not show to what method they belong to:
```
$ cat aot.map | grep MethodTrainingData
0x00000008019d54c0: @@ MethodTrainingData 96
0x00000008019dcec8: @@ MethodTrainingData 96
[...]
$ cat aot.map | grep CompileTrainingData
[...]
0x000000080079c8a0: @@ CompileTrainingData 80
0x00000008007a7660: @@ CompileTrainingData 80
```
Add the method name to those lines in the AOT map to add more context. Also, for CompileTrainingData, add the level of compilation.
The output should look like (note the number before the method signature on CompileTrainingData that represents the level):
```
$ cat aot.map | grep CompileTrainingData
0x000000080079c8a0: @@ CompileTrainingData 80 3 int java.lang.Byte.hashCode()
0x00000008007a7660: @@ CompileTrainingData 80 3 java.lang.Object java.lang.ref.Reference.get()
0x00000008007a76b0: @@ CompileTrainingData 80 4 java.lang.Object java.lang.ref.Reference.get()
[...]
$ cat aot.map | grep MethodTrainingData
0x00000008007864c0: @@ MethodTrainingData 96 void java.lang.System.arraycopy(java.lang.Object, int, java.lang.Object, int, int)
0x00000008007884f0: @@ MethodTrainingData 96 boolean java.lang.Module.isNamed()
0x00000008007892f8: @@ MethodTrainingData 96 boolean java.lang.Module.implIsExportedOrOpen(java.lang.String, java.lang.Module, boolean)
[...]
```
```
$ cat aot.map | grep MethodTrainingData
0x00000008019d54c0: @@ MethodTrainingData 96
0x00000008019dcec8: @@ MethodTrainingData 96
[...]
$ cat aot.map | grep CompileTrainingData
[...]
0x000000080079c8a0: @@ CompileTrainingData 80
0x00000008007a7660: @@ CompileTrainingData 80
```
Add the method name to those lines in the AOT map to add more context. Also, for CompileTrainingData, add the level of compilation.
The output should look like (note the number before the method signature on CompileTrainingData that represents the level):
```
$ cat aot.map | grep CompileTrainingData
0x000000080079c8a0: @@ CompileTrainingData 80 3 int java.lang.Byte.hashCode()
0x00000008007a7660: @@ CompileTrainingData 80 3 java.lang.Object java.lang.ref.Reference.get()
0x00000008007a76b0: @@ CompileTrainingData 80 4 java.lang.Object java.lang.ref.Reference.get()
[...]
$ cat aot.map | grep MethodTrainingData
0x00000008007864c0: @@ MethodTrainingData 96 void java.lang.System.arraycopy(java.lang.Object, int, java.lang.Object, int, int)
0x00000008007884f0: @@ MethodTrainingData 96 boolean java.lang.Module.isNamed()
0x00000008007892f8: @@ MethodTrainingData 96 boolean java.lang.Module.implIsExportedOrOpen(java.lang.String, java.lang.Module, boolean)
[...]
```
- caused by
-
JDK-8363440 Upgrade AOT map file logging to display more assets and asset content
-
- In Progress
-
- links to
-
Review(master) openjdk/jdk/27740