[lworld] RFR: 8271583: [lworld] primitive records can't be reference favoring [v2]

Jesper Steen Møller jespersm at openjdk.java.net
Mon Aug 23 22:53:53 UTC 2021

On Mon, 23 Aug 2021 22:17:18 GMT, Jesper Steen Møller <jespersm at openjdk.org> wrote:

>> This patch lets the compiler pick up a record which can be primitive records and reference favoring, such as
>> primitive record Point.val(int x, int y) {}
>> The lowering had to be adjusted so that the correct receiver type is generated.
>> See https://bugs.openjdk.java.net/browse/JDK-8271583
> Jesper Steen Møller has updated the pull request incrementally with one additional commit since the last revision:
>   Removed unnecessary @compile test tag

I fixed the unneeded @compile line, but I'm not sure about changing the main/othervm. Most tests in Valhalla use 'main/othervm', but perhaps that's just coincidence, or a misunderstanding that's been copy/paste's around?


PR: https://git.openjdk.java.net/valhalla/pull/533

More information about the valhalla-dev mailing list