constant-dynamic specification, updated

Remi Forax forax at univ-mlv.fr
Mon Jun 26 06:14:29 UTC 2017


> De: "John Rose" <john.r.rose at oracle.com>
> À: "Per Bothner" <per at bothner.com>
> Cc: "Da Vinci Machine Project" <mlvm-dev at openjdk.java.net>
> Envoyé: Lundi 26 Juin 2017 00:21:58
> Objet: Re: constant-dynamic specification, updated

> On Jun 25, 2017, at 3:00 PM, Per Bothner < per at bothner.com > wrote:

>> That will be difficult as long as constant pool indexes and various
>> other fields are limited to 16 bits.

> Yep; that's a challenge, until we break the glass and make a
> completely new class file format that integrates a var-int format.
> (My favorite is UNSIGNED5.)

> But we can (and should) put off the day of glass-breaking
> by tactical moves like CONSTANT_Group, which will allow
> you to express a single sequence of constant tokens of
> any length, without (necessarily) using up indexes in the
> main CP.

like an array of value types for the constant pool ! 

Rémi 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20170626/ed233b78/attachment.html>


More information about the mlvm-dev mailing list