Re: Re: bootstrap methods in the constant pool

2010-08-26 Thread ebruneton
Rémi Forax wrote: Le 12/08/2010 08:20, John Rose a écrit : I just posted a prototype patch for local BSMs which works on my unit tests. http://hg.openjdk.java.net/mlvm/mlvm/hotspot/file/tip/asm There is also an updated ldc patch. I've put the patches with some good examples here:

Re: [asm] Re: bootstrap methods in the constant pool

2010-08-12 Thread John Rose
, you relink the affected indy instructions. This clearly uses a different BSM than any pre-existing BSM used by the original compiler. -- John regards, Eugene Rémi Forax wrote: Le 13/07/2010 04:59, John Rose a écrit : Folks, the 292 EG has decided to register bootstrap methods

Re: [asm] Re: bootstrap methods in the constant pool

2010-08-12 Thread Rémi Forax
Le 12/08/2010 08:20, John Rose a écrit : I just posted a prototype patch for local BSMs which works on my unit tests. http://hg.openjdk.java.net/mlvm/mlvm/hotspot/file/tip/asm There is also an updated ldc patch. I've put the patches with some good examples here:

Re: [asm] Re: bootstrap methods in the constant pool

2010-07-13 Thread John Rose
On Jul 13, 2010, at 5:39 AM, Eugene Kuleshov wrote: what would be the meaning of bootstrap method pointing to a method handle of get/putField or get/putStatic type? It's syntactically valid as a classfile, but the instruction will fail to link with InvokeDynamicBootstrapError, with cause

bootstrap methods in the constant pool

2010-07-12 Thread John Rose
Folks, the 292 EG has decided to register bootstrap methods in the constant pool, instead of via a call from the clinit method. Here's a summary of constant pool formats as of the latest push to mlvm. This will require further changes to asm, Mirah, and other bytecode-aware tools. For now