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] gc.Finalizer smoke test fails more often than not
Date Mon, 16 Oct 2006 18:27:06 GMT
The problem could be caused by recent magic support added to Jitrino
compiler.
The only info needed in 'gen_magic()' method is the name of the class by
Class_Handle.
So if it's possible to return the class name without resolving and loading
the class it could be the solution.

Pavel, feel free to ask me anything you needed from JIT to fix the bug.


On 10/17/06, Pavel Afremov <pavel.n.afremov@gmail.com> wrote:
>
> I' m going look into this.
>
> Pavel Afremov.
>
> 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)
> > >>
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
>



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