[lworld] RFR: 8359370: [lworld] allow instance fields of identity classes to be readable in the prologue phase [v13]

Vicente Romero vromero at openjdk.org
Thu Aug 28 18:22:52 UTC 2025


On Thu, 28 Aug 2025 16:23:22 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Vicente Romero has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   minor diff
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeInfo.java line 971:
> 
>> 969:     public record SymAndTree(Symbol symbol, JCTree tree) {}
>> 970: 
>> 971:     public static java.util.List<SymAndTree> symbolsFor(List<JCTree> nodes) {
> 
> Is the use of `j.u.List` deliberate here?

yes, I think the `addAll` method is faster than our list

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/1523#discussion_r2308109661


More information about the valhalla-dev mailing list