Re: Invokedynamic slower than reflection?

2010-06-04 Thread Rémi Forax
It's funny, I've found the same error last night. Yes, there is a problem, if you run with -XX:+PrintCompilation, you will see lot of made not entrant on the same bytecode location. 183% made not entrant (2) Hello::main @ -2 (145 bytes) 184% Hello::main @ 6 (145 bytes) It seems that

Re: Invokedynamic slower than reflection?

2010-06-04 Thread John Rose
Is the call site megamutable? (Is it linked many times instead of once?) -- John On Jun 4, 2010, at 4:40 AM, Rémi Forax wrote: It's funny, I've found the same error last night. Yes, there is a problem, if you run with -XX:+PrintCompilation, you will see lot of made not entrant on the