Re: [PATCH] Use #valueOf()-methods in Unsafe-based FieldAccessors

2012-05-02 Thread Andrej Golovnin
Hi Rémi, > your far from Swing :) > (I remember you from the glorious appframework time) I still do some Swing stuff. :) > And the mailer deamon (or mailer imp ?) remove attachment, so you have to > repost it inlined. Some one should mention this fact on this site: http://openjdk.java.net/cont

Re: [PATCH] Use #valueOf()-methods in Unsafe-based FieldAccessors

2012-05-01 Thread Rémi Forax
On 05/01/2012 09:33 PM, Andrej Golovnin wrote: Hi all, Hi Andrej, your far from Swing :) (I remember you from the glorious appframework time) Is there some reason for not using #valueOf-methods from wrapper classes in Unsafe-based FieldAccessors in sun.reflect-package (see the attached patch

[PATCH] Use #valueOf()-methods in Unsafe-based FieldAccessors

2012-05-01 Thread Andrej Golovnin
Hi all, Is there some reason for not using #valueOf-methods from wrapper classes in Unsafe-based FieldAccessors in sun.reflect-package (see the attached patch)? The main motivation for this patch is to reduce memory consumption in applications which make heavy use of reflection API (e.g. apps wh