Parametric VM class file format

Remi Forax forax at univ-mlv.fr
Tue Apr 20 16:40:49 UTC 2021


Hi all,
at least as an exercise to understand the proposed class file format for the parametric VM, i will update ASM soon (in a branch) to see how things work.

As usual with ASM, there is the question of sharing the same index in the constant pool,
i.e. should two anchors (SpecializationAnchor) that have the same kind and the same BSM + constant arguments share the same constant pool index ?
And same question with two linkages (SpecializationLinkage).

I believe the answer is yes for both, the index is shared.

The other questions are about "ldc Linkage", first, why do we need a ldc Linkage with a Linkage that reference a class given that we already have Condy ?
And second question, is there a ldc Linkage with the linkage referencing something else than a class ?

regards,
Rémi




More information about the valhalla-spec-observers mailing list