RFR: javac support for Parametric VM, first stab [v3]
Maurizio Cimadamore
mcimadamore at openjdk.java.net
Fri Mar 12 22:26:22 UTC 2021
On Fri, 12 Mar 2021 19:28:48 GMT, Rémi Forax <github.com+828220+forax at openjdk.org> wrote:
>> Vicente Romero has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains one additional commit since the last revision:
>>
>> associate an id to the Parameter CP
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/PoolConstant.java line 234:
>
>> 232: final int kind;
>> 233:
>> 234: Parameter(int kind) {
>
> Why do you create a Parameter without an id ?
That is during class reading - where we don't care about the "id" anymore. The "id" is just a "fiction" when writing, to help us generating multiple CP holes (possibly with the same kind).
-------------
PR: https://git.openjdk.java.net/valhalla/pull/364
More information about the valhalla-dev
mailing list