On Wednesday 11 October 2006 16:15 Pavel Pervov wrote: > (Branching from original thread as this is different problem than in the > root message.)
Wasn't it the same problem, just happening on classlib initialization? I think the scenario is the same. > The following scenario will fail: > > 1) JIT compiles some method and resolves some class "A" through user > defined class loader > 2) user define class loader loads class "A" and triggers compilation of > some of its methods > 3) this method happens to depend on class "A", and, thus, JIT resolves the > class "A" through the same class loader > > Voila! We have the described situation. A synthetic test for drlvm could really help to emphasize the problem. Then we can run this test on all other VMs with possible modifications. BTW sun's hotspot should compile a method if it is called several times, so user defined class loader could do something like calling this method many times to trigger its compilation. -- Gregory Shimansky, Intel Middleware Products Division --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
