Auto Reply: Re: Status of Anno Class loader with constant patches?

2011-01-06 Thread henrik . osterdahl
Hello, I'm out of the office Dec 24 2010 through Jan 9 2011. Please refer to David Cox (david.cox) and Daniel Källander (daniel.kallander). Regards, Henrik Österdahl ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net

Re: Status of Anno Class loader with constant patches?

2011-01-06 Thread Helmut Eller
* Rémi Forax [2011-01-06 13:30] writes: that is essentially a constant butexp must be evaluated at load time and not later (as would be done with lazy linking). why not using a static final field initialized in clinit in that case ? Because final static fields can't be optimized as well as

Re: Status of Anno Class loader with constant patches?

2011-01-06 Thread Rémi Forax
On 01/06/2011 04:08 PM, Helmut Eller wrote: * Rémi Forax [2011-01-06 13:30] writes: that is essentially a constant butexp must be evaluated at load time and not later (as would be done with lazy linking). why not using a static final field initialized inclinit in that case ? Because final

Re: Status of Anno Class loader with constant patches?

2011-01-06 Thread John Rose
On Jan 6, 2011, at 1:12 AM, Helmut Eller wrote: * John Rose [2011-01-06 02:37] writes: Live constants are definitely one of the use cases that invokedynamic is designed for. Are/will there be any means to link invokedynamic call sites eagerly instead of the lazy linking scheme? E.g.

Re: Status of Anno Class loader with constant patches?

2010-12-30 Thread Thomas Wuerthinger
In fact for hotspot, this kind of constant can be even more optimized than a static final field containing a non-primitive values which is not a real constant (it can be modified by reflection). I don't think final fields can be modified via reflection. An IllegalAccessException with the

Re: Status of Anno Class loader with constant patches?

2010-12-28 Thread Mark Roos
Thanks Remi, the extra comments really helped You also mentioned There is another way to do something similar, you can call invokedynamic, use the bootstrap arguments to send the primitive values composing the object value and when the BSM is called returns a ConstantCallSite with as

Re: Status of Anno Class loader with constant patches?

2010-12-27 Thread Rémi Forax
On 12/26/2010 08:33 PM, Mark Roos wrote: We are working on a port of Smalltalk to the MLVM. For this we were thinking of using the constant patch feature of the anonymous class loader in java.dyn.anon to create constant pool entries with instances of our Smalltalk types. Is this feature

Auto Reply: Re: Status of Anno Class loader with constant patches?

2010-12-27 Thread henrik . osterdahl
Hello, I'm out of the office Dec 24 2010 through Jan 9 2011. Please refer to David Cox (david.cox) and Daniel Källander (daniel.kallander). Regards, Henrik Österdahl ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net

Re: Status of Anno Class loader with constant patches?

2010-12-27 Thread Charles Oliver Nutter
I am curious what you mean here...storing atypical object values (not string, int, etc) in the constant pool? Is that possible? On Sunday, December 26, 2010, Mark Roos mr...@roos.com wrote: We are working on a port of Smalltalk to the MLVM.  For this we were thinking of using the constant

Auto Reply: Re: Status of Anno Class loader with constant patches?

2010-12-27 Thread henrik . osterdahl
Hello, I'm out of the office Dec 24 2010 through Jan 9 2011. Please refer to David Cox (david.cox) and Daniel Källander (daniel.kallander). Regards, Henrik Österdahl ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net

Auto Reply: Re: Status of Anno Class loader with constant patches?

2010-12-27 Thread henrik . osterdahl
Hello, I'm out of the office Dec 24 2010 through Jan 9 2011. Please refer to David Cox (david.cox) and Daniel Källander (daniel.kallander). Regards, Henrik Österdahl ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net

Auto Reply: Status of Anno Class loader with constant patches?

2010-12-26 Thread y . s . ramakrishna
This is an automatic response. I am on vacation from 12/20 through 12/26, and not generally reading or responding to emai during that period. For urgent matters please contact my manager David Cox or Jon Masamitsu. ___ mlvm-dev mailing list