harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov" <mike.fur...@gmail.com>
Subject Re: [drlvm] smoke test : gc PhantomReferenceQueueTest is really unstable
Date Wed, 11 Oct 2006 11:05:39 GMT
On 10/11/06, Salikh Zakirov <Salikh.Zakirov@intel.com> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message