Special ASM branches named valhalla

John Rose john.r.rose at oracle.com
Thu Jul 24 20:51:12 UTC 2014

On Jul 24, 2014, at 10:05 AM, Remi Forax <forax at univ-mlv.fr> wrote:

> I've started to hack a version of ASM in order to be able to do the specialization at runtime.
> http://websvn.ow2.org/listing.php?repname=asm&path=%2Fbranches%2FVALHALLA%2F
> Currently, it only supports the TypeVariableMap attribute (reader and writer)
> and is fully backward compatible with ASM5 :)

Here's a big cut I think we need in ASM:  Structured names (CONSTANT_Signature?).
The use of String to encode class names and method descriptors will not scale to unerased types.
I suggest amending or repurposing asm.Type to carry tuples of constants (plus template string as "(L#;I)Q#;" to control top-level structure).
The hardest part will be deprecating String as a carrier for descriptors and type names in the visitor APIs.

— John  :-}

More information about the valhalla-dev mailing list