8369037: Identify owning method for MethodData and MethodCounters in AOT map output #27603
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 403 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.359
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #27603"
general
weight: 0.35
Delawen
Part of https://bugs.openjdk.org/browse/JDK-8369037
Provides part of fixes needed to resolve https://bugs.openjdk.org/browse/JDK-8363440
The AOT map file lists many objects without any kind of context of what they represent. For example,
MethodCountersandMethodDatado not show to what method they belong to. With this patch, now we can at least link theMethodCountersandMethodDatato theMethodthey belong to.Before:
``
bash
`$ cat aot.map | grep "@@ MethodData"
[...]
0x0000000801e44448: @@ MethodData 584
$ 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()
bash
$ 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)
Change must be properly reviewed (1 review required, with at least 1 Reviewer)
Change must not contain extraneous whitespace
Commit message must refer to an issue $ git fetch https://git.openjdk.org/jdk.git pull/27603/head:pull/27603<!-- Anything below this marker will be automatically updated, please do not edit manually! -->
---------
Progress
Issue
JDK-8369037: Identify owning method for MethodData and MethodCounters in AOT map output (Sub-task - P4)
Reviewers
Ashutosh Mehra (@ashu-mehra - Committer) Review applies to b36e4408
Andrew Dinn (@adinn - Reviewer) Review applies to b36e4408
Mat Carter (@macarte - Author) Review applies to 76e3a5a0
* Ioi Lam (@iklam - Reviewer)
Reviewing
<details><summary>Using <code>git</code></summary>
Checkout this PR locally: \
\
$ git checkout pull/27603$ git checkout pull/27603Update a local copy of the PR: \
\
$ git pull https://git.openjdk.org/jdk.git pull/27603/head$ git pr checkout 27603</details>
<details><summary>Using Skara CLI tools</summary>
Checkout this PR locally: \
$ git pr show -t 27603`View PR using the GUI difftool: \
</details>
<details><summary>Using diff file</summary>
Download this PR as a diff file: \
<a href="https://git.openjdk.org/jdk/pull/27603.diff">https://git.openjdk.org/jdk/pull/27603.diff</a>
</details>
<details><summary>Using Webrev</summary>
Link to Webrev Comment
</details>