Pavel, Can you describe the problem with user's code only? Would BEA or SUN VM be able to run the test? I think we can create a separate discussion or JIRA for it.
On 10/11/06, Pavel Pervov <[EMAIL PROTECTED]> wrote:
Michail, Generally speaking I can think of fully user code which produces exactly the same result. So, workarounding this in one place (finalizers) just is not enough. Regards, Pavel. On 10/11/06, Mikhail Fursov <[EMAIL PROTECTED]> wrote: > > On 10/11/06, Salikh Zakirov <[EMAIL PROTECTED]> wrote: > > > > I believe the real root cause is running java code from > > vm_hint_finalize(). > > A possible solution would be: > > > > - rewrite vm_hint_finalize() to just run 'notify' operation, without > > calling any real java code > > - handle reference queue in the finalizer thread instead of enqueuing it > > directly from vm_hint_finalize() thread > > > > I support the idea to fix the finalization code. The requirement from JIT > to > use lazy resolution everywhere is overkill in this case. > Also the lazy resolution requires very significant changes in the current > Jitrino.OPT implementation and will make the static modes (-Xem:opt, > -Xem:sever_static) unusable because of the performance degradation. > > -- > Mikhail Fursov > >
-- Mikhail Fursov