Re: again on megamorphic problems

2012-12-21 Thread Jochen Theodorou
Am 21.12.2012 06:03, schrieb Charles Oliver Nutter: > On Thu, Dec 20, 2012 at 7:10 AM, Jochen Theodorou wrote: >> let us assume the following example... I have a method foo >> >> public Object foo(Object arg){return bar(arg)} >> >> nothing fancy, quite simple... and let us assume foo is called fro

Re: Java 7 update 12 issue with MethodHandles.catchException.

2012-12-21 Thread MacGregor, Duncan (GE Energy Management)
Okay I've been experimenting a bit before you sent that, and If the code cache is set to something rather large then we seem to get good performance on large applications anyway, though we do still see lambda form classes getting loaded (though at a lower rate once everything has been running for a

Re: again on megamorphic problems

2012-12-21 Thread MacGregor, Duncan (GE Energy Management)
I've been thinking about this due to the extensive mixin hierarchy in our runtime presenting some potential problems with the number of types being seen by some areas of code in some applications. It's going to be hard to magic this problem away at the JVM level due to the restrictions stated in th

Re: again on megamorphic problems

2012-12-21 Thread Jochen Theodorou
Am 21.12.2012 12:28, schrieb MacGregor, Duncan (GE Energy Management): > I've been thinking about this due to the extensive mixin hierarchy in our > runtime presenting some potential problems with the number of types being > seen by some areas of code in some applications. It's going to be hard to

Re: again on megamorphic problems

2012-12-21 Thread MacGregor, Duncan (GE Energy Management)
On 21/12/2012 11:42, "Jochen Theodorou" wrote: >Am 21.12.2012 12:28, schrieb MacGregor, Duncan (GE Energy Management): >>For example, Charles, how do you handle the creation of literals / >> constants when building specialised methods? Are the literals >>instantiated >> by two specialised versio