harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Shimansky <gshiman...@gmail.com>
Subject Re: [drlvm] gc.Finalizer smoke test fails more often than not
Date Mon, 16 Oct 2006 19:18:19 GMT
On Monday 16 October 2006 21:27 Ivan Volosyuk wrote:
> AFAIK, nobody does.

This is the problem described by Pavel Pervov with incorrect detection of 
ClassCircularityError and cyclic class resolution because of compilation. The 
problem is discussed here [1].

Pavel was going to create a pure Java test which will reproduce the problem 
without using drlvm finalizers engine. If this test will actually fail we'll 
try to find a way to fix the problem. So far suggested workarounds will fix 
only the scenario which causes problems in gc.Finalizers and 
gc.PhantomReferenceQueue tests. We need a more general solution.

[1] http://thread.gmane.org/gmane.comp.java.harmony.devel/15565/focus=15613

> On 10/16/06, Geir Magnusson Jr. <geir@pobox.com> wrote:
> > Well, it just seems to have gotten worse lately....
> >
> > Anyone working on a fix?
> >
> > geir
> >
> > Ivan Volosyuk wrote:
> > > I have created a JIRA issue for this problem some time ago.
> > >  https://issues.apache.org/jira/browse/HARMONY-1556
> > >
> > > It contains the description of what is going on.
> > >
> > > --
> > > Ivan
> > >
> > > On 10/16/06, Geir Magnusson Jr <geir@pobox.com> wrote:
> > >> Usually with this :
> > >> > java:
> > >>
> > >> /home/geir/dev/apache/harmony/enhanced/trunk/working_vm/vm/vmcore/src/
> > >>class_support/classloader.cpp:551: void
> > >> ClassLoader::SuccessLoadingClass(const String*): Assertion `lc'
> > >> failed.
> > >>
> > >> > SIGABRT in VM code.
> > >> > Stack trace:
> > >> > addr2line: '[vdso]': No such file
> > >> >         1: ?? (�U��h���יڶ:-1)
> > >> >         2: abort (??:-1)
> > >> >         3: __assert_fail (??:-1)
> > >> >         4: ClassLoader::SuccessLoadingClass(String const*)
> > >>
> > >> (/home/geir/dev/apache/harmony/enhanced/trunk/working_vm/vm/vmcore/src
> > >>/class_support/classloader.cpp:552)
> > >>
> > >> >         5: ClassLoader::DefineClass(Global_Env*, char const*,
> > >>
> > >> unsigned char*, unsigned int, unsigned int, String const**)
> > >> (/home/geir/dev/apache/harmony/enhanced/trunk/working_vm/vm/vmcore/src
> > >>/class_support/classloader.cpp:346)
> > >>
> > >> >         6: BootstrapClassLoader::LoadFromJarFile(JarFile*, char
> > >>
> > >> const*, String const*, bool*)
> > >> (/home/geir/dev/apache/harmony/enhanced/trunk/working_vm/vm/vmcore/src
> > >>/class_support/classloader.cpp:2008)
> > >>
> > >> >         7: BootstrapClassLoader::LoadFromFile(String const*)
> > >>
> > >> (/home/geir/dev/apache/harmony/enhanced/trunk/working_vm/vm/vmcore/src
> > >>/class_support/classloader.cpp:1911)
> > >>
> > >> >         8: BootstrapClassLoader::LoadClass(Global_Env*, String
> > >>
> > >> const*)
> > >> (/home/geir/dev/apache/harmony/enhanced/trunk/working_vm/vm/vmcore/src
> > >>/class_support/classloader.cpp:1702)
> > >>
> > >> >         9: ClassLoader::LoadVerifyAndPrepareClass(Global_Env*,
> > >>
> > >> String const*)
> > >> (/home/geir/dev/apache/harmony/enhanced/trunk/working_vm/vm/vmcore/src
> > >>/class_support/classloader.cpp:385)
> > >>
> > >> >         10: _resolve_class
> > >>
> > >> (/home/geir/dev/apache/harmony/enhanced/trunk/working_vm/vm/vmcore/src
> > >>/class_support/Resolve.cpp:157)
> > >>
> > >> >         11: _resolve_class_new(Global_Env*, Class*, unsigned int)
> > >>
> > >> (/home/geir/dev/apache/harmony/enhanced/trunk/working_vm/vm/vmcore/src
> > >>/class_support/Resolve.cpp:221)
> > >>
> > >> >         12: resolve_class_new
> > >>
> > >> (/home/geir/dev/apache/harmony/enhanced/trunk/working_vm/vm/vmcore/src
> > >>/class_support/Resolve.cpp:902)
> > >>
> > >> >         13: vm_resolve_class_new
> > >>
> > >> (/home/geir/dev/apache/harmony/enhanced/trunk/working_vm/vm/vmcore/src
> > >>/class_support/C_Interface.cpp:903)
> > >>
> > >> >         14: Jitrino::Jet::Compiler::gen_magic() (??:-1)

-- 
Gregory Shimansky, Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message