-
Sub-task
-
Resolution: Fixed
-
P4
-
26
-
master
MethodCounters and MethodData do not show to what method they belong to:
```
$ cat aot.map | grep "@@ MethodCounters"
[...]
0x0000000801e4c280: @@ MethodCounters 64
$ cat aot.map | grep "@@ MethodData"
[...]
0x0000000801e44448: @@ MethodData 584
```
Add the method name to the MethodCounters and MethodData lines in the AOT map to add more context like:
```$ cat aot.map | grep "@@ MethodCounters"
[...]
0x0000000801f8b9a8: @@ MethodCounters 64 void jdk.internal.access.SharedSecrets.setJavaLangAccess(jdk.internal.access.JavaLangAccess)
0x0000000801f8be60: @@ MethodCounters 64 void java.lang.Object.notifyAll()
$ cat aot.map | grep "@@ MethodData"
[...]
0x0000000801f700e0: @@ MethodData 728 int java.lang.module.ModuleDescriptor.hashCode()
0x0000000801f81af0: @@ MethodData 688 java.lang.String java.lang.Class.cannotCastMsg(java.lang.Object)
```
```
$ cat aot.map | grep "@@ MethodCounters"
[...]
0x0000000801e4c280: @@ MethodCounters 64
$ cat aot.map | grep "@@ MethodData"
[...]
0x0000000801e44448: @@ MethodData 584
```
Add the method name to the MethodCounters and MethodData lines in the AOT map to add more context like:
```$ cat aot.map | grep "@@ MethodCounters"
[...]
0x0000000801f8b9a8: @@ MethodCounters 64 void jdk.internal.access.SharedSecrets.setJavaLangAccess(jdk.internal.access.JavaLangAccess)
0x0000000801f8be60: @@ MethodCounters 64 void java.lang.Object.notifyAll()
$ cat aot.map | grep "@@ MethodData"
[...]
0x0000000801f700e0: @@ MethodData 728 int java.lang.module.ModuleDescriptor.hashCode()
0x0000000801f81af0: @@ MethodData 688 java.lang.String java.lang.Class.cannotCastMsg(java.lang.Object)
```
- caused by
-
JDK-8363440 Upgrade AOT map file logging to display more assets and asset content
-
- In Progress
-
- links to
-
Commit(master) openjdk/jdk/2e783963
-
Review(master) openjdk/jdk/27603