You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by zouqiong <us...@gmail.com> on 2006/08/03 15:04:23 UTC
Re: some question about drlvm
I am sorry so late to reply.
en, i use command
EM: compile start:[JET n=1816]
java/util/Hashtable::elements()Ljava/util/Enumeration;
EM: compile start:[JET n=1817] java/lang/EMThreadSupport::shutdown()V
EM: compile done:[JET n=1817: OK] java/lang/EMThreadSupport::shutdown()V
EM: compile done:[JET n=1816: OK]
java/util/Hashtable::elements()Ljava/util/Enumeration;
EM: compile start:[JET n=1818]
java/util/Hashtable$HashEnumerator::<init>(Ljava/util/Hashtable;Z)V
EM: compile done:[JET n=1818: OK]
java/util/Hashtable$HashEnumerator::<init>(Ljava/util/Hashtable;Z)V
EM: compile start:[JET n=1819]
java/util/Hashtable$HashEnumerator::hasMoreElements()Z
EM: compile done:[JET n=1819: OK]
java/util/Hashtable$HashEnumerator::hasMoreElements()Z
EM: compile start:[JET n=1820]
java/util/Hashtable$HashEnumerator::nextElement()Ljava/lang/Object;
EM: compile done:[JET n=1820: OK]
java/util/Hashtable$HashEnumerator::nextElement()Ljava/lang/Object;
EM: compile start:[JET n=1821] java/util/zip/ZipFile::close()V
EM: compile done:[JET n=1821: OK] java/util/zip/ZipFile::close()V
EM: compile start:[JET n=1822] java/util/Vector::removeAllElements()V
EM: compile done:[JET n=1822: OK] java/util/Vector::removeAllElements()V
EM: compile start:[JET n=1823] java/lang/VMExecutionEngine::exit(IZ)V
EM: compile done:[JET n=1823: OK]
java/lang/VMExecutionEngine::exit(IZ)V
is the last method to be compiled.
Re: some question about drlvm
Posted by Egor Pasko <eg...@gmail.com>.
On the 0x1C0 day of Apache Harmony Alexey Varlamov wrote:
> 09 Aug 2006 11:49:35 +0700, Egor Pasko <eg...@gmail.com>:
> > Hi,
> >
> > sorry for my being sooo late. Busy as always. I am tryin try to be faster :)
> >
> > On the 0x1BA day of Apache Harmony ustczz@gmail.com wrote:
> > > I am sorry so late to reply.
> > > en, i use command
> > > EM: compile start:[JET n=1816]
> > > java/util/Hashtable::elements()Ljava/util/Enumeration;
> > > EM: compile start:[JET n=1817] java/lang/EMThreadSupport::shutdown()V
> > > EM: compile done:[JET n=1817: OK] java/lang/EMThreadSupport::shutdown()V
> > > EM: compile done:[JET n=1816: OK]
> > > java/util/Hashtable::elements()Ljava/util/Enumeration;
> > > EM: compile start:[JET n=1818]
> > > java/util/Hashtable$HashEnumerator::<init>(Ljava/util/Hashtable;Z)V
> > > EM: compile done:[JET n=1818: OK]
> > > java/util/Hashtable$HashEnumerator::<init>(Ljava/util/Hashtable;Z)V
> > > EM: compile start:[JET n=1819]
> > > java/util/Hashtable$HashEnumerator::hasMoreElements()Z
> > > EM: compile done:[JET n=1819: OK]
> > > java/util/Hashtable$HashEnumerator::hasMoreElements()Z
> > > EM: compile start:[JET n=1820]
> > > java/util/Hashtable$HashEnumerator::nextElement()Ljava/lang/Object;
> > > EM: compile done:[JET n=1820: OK]
> > > java/util/Hashtable$HashEnumerator::nextElement()Ljava/lang/Object;
> > > EM: compile start:[JET n=1821] java/util/zip/ZipFile::close()V
> > > EM: compile done:[JET n=1821: OK] java/util/zip/ZipFile::close()V
> > > EM: compile start:[JET n=1822] java/util/Vector::removeAllElements()V
> > > EM: compile done:[JET n=1822: OK] java/util/Vector::removeAllElements()V
> > > EM: compile start:[JET n=1823] java/lang/VMExecutionEngine::exit(IZ)V
> > > EM: compile done:[JET n=1823: OK]
> > > java/lang/VMExecutionEngine::exit(IZ)V
> > >
> > > is the last method to be compiled.
> >
> > Thanks for investigation!
> >
> > Looks like your app hangs just before the VM exit. That's a strange
> > problem I've never seen before. Possibly, it is easy to reduce the app
> > into a quite small piece of code that hangs in the same way. Then I
> > could reproduce it on my machine...
> >
> > Does it look like a happy doing?
> >
> > Otherwise, I see no obvious ways to investigate further :(
> >
>
> Well, as a last resort, we could try to look at total trace log, not EM only.
>
> Zouqiong,
>
> Could you please try with the following options:
>
> 1) -Xint -Xcategory -Xthread Xtrace:root:int.log
> 2) -Xcategory -Xthread -Xtrace:root:jit.log
I love the options :)
And.. you can put "-Xem opt" and "-Xem jet" here as usual
--
Egor Pasko, Intel Managed Runtime 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
Re: some question about drlvm
Posted by Alexey Varlamov <al...@gmail.com>.
09 Aug 2006 11:49:35 +0700, Egor Pasko <eg...@gmail.com>:
> Hi,
>
> sorry for my being sooo late. Busy as always. I am tryin try to be faster :)
>
> On the 0x1BA day of Apache Harmony ustczz@gmail.com wrote:
> > I am sorry so late to reply.
> > en, i use command
> > EM: compile start:[JET n=1816]
> > java/util/Hashtable::elements()Ljava/util/Enumeration;
> > EM: compile start:[JET n=1817] java/lang/EMThreadSupport::shutdown()V
> > EM: compile done:[JET n=1817: OK] java/lang/EMThreadSupport::shutdown()V
> > EM: compile done:[JET n=1816: OK]
> > java/util/Hashtable::elements()Ljava/util/Enumeration;
> > EM: compile start:[JET n=1818]
> > java/util/Hashtable$HashEnumerator::<init>(Ljava/util/Hashtable;Z)V
> > EM: compile done:[JET n=1818: OK]
> > java/util/Hashtable$HashEnumerator::<init>(Ljava/util/Hashtable;Z)V
> > EM: compile start:[JET n=1819]
> > java/util/Hashtable$HashEnumerator::hasMoreElements()Z
> > EM: compile done:[JET n=1819: OK]
> > java/util/Hashtable$HashEnumerator::hasMoreElements()Z
> > EM: compile start:[JET n=1820]
> > java/util/Hashtable$HashEnumerator::nextElement()Ljava/lang/Object;
> > EM: compile done:[JET n=1820: OK]
> > java/util/Hashtable$HashEnumerator::nextElement()Ljava/lang/Object;
> > EM: compile start:[JET n=1821] java/util/zip/ZipFile::close()V
> > EM: compile done:[JET n=1821: OK] java/util/zip/ZipFile::close()V
> > EM: compile start:[JET n=1822] java/util/Vector::removeAllElements()V
> > EM: compile done:[JET n=1822: OK] java/util/Vector::removeAllElements()V
> > EM: compile start:[JET n=1823] java/lang/VMExecutionEngine::exit(IZ)V
> > EM: compile done:[JET n=1823: OK]
> > java/lang/VMExecutionEngine::exit(IZ)V
> >
> > is the last method to be compiled.
>
> Thanks for investigation!
>
> Looks like your app hangs just before the VM exit. That's a strange
> problem I've never seen before. Possibly, it is easy to reduce the app
> into a quite small piece of code that hangs in the same way. Then I
> could reproduce it on my machine...
>
> Does it look like a happy doing?
>
> Otherwise, I see no obvious ways to investigate further :(
>
Well, as a last resort, we could try to look at total trace log, not EM only.
Zouqiong,
Could you please try with the following options:
1) -Xint -Xcategory -Xthread Xtrace:root:int.log
2) -Xcategory -Xthread -Xtrace:root:jit.log
Resulting files (int.log and jit.log) may be quite massive, just zip
them and attach to JIRA, please.
--
Alexey
> --
> Egor Pasko, Intel Managed Runtime 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
>
>
---------------------------------------------------------------------
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
Re: some question about drlvm
Posted by Egor Pasko <eg...@gmail.com>.
Hi,
sorry for my being sooo late. Busy as always. I am tryin try to be faster :)
On the 0x1BA day of Apache Harmony ustczz@gmail.com wrote:
> I am sorry so late to reply.
> en, i use command
> EM: compile start:[JET n=1816]
> java/util/Hashtable::elements()Ljava/util/Enumeration;
> EM: compile start:[JET n=1817] java/lang/EMThreadSupport::shutdown()V
> EM: compile done:[JET n=1817: OK] java/lang/EMThreadSupport::shutdown()V
> EM: compile done:[JET n=1816: OK]
> java/util/Hashtable::elements()Ljava/util/Enumeration;
> EM: compile start:[JET n=1818]
> java/util/Hashtable$HashEnumerator::<init>(Ljava/util/Hashtable;Z)V
> EM: compile done:[JET n=1818: OK]
> java/util/Hashtable$HashEnumerator::<init>(Ljava/util/Hashtable;Z)V
> EM: compile start:[JET n=1819]
> java/util/Hashtable$HashEnumerator::hasMoreElements()Z
> EM: compile done:[JET n=1819: OK]
> java/util/Hashtable$HashEnumerator::hasMoreElements()Z
> EM: compile start:[JET n=1820]
> java/util/Hashtable$HashEnumerator::nextElement()Ljava/lang/Object;
> EM: compile done:[JET n=1820: OK]
> java/util/Hashtable$HashEnumerator::nextElement()Ljava/lang/Object;
> EM: compile start:[JET n=1821] java/util/zip/ZipFile::close()V
> EM: compile done:[JET n=1821: OK] java/util/zip/ZipFile::close()V
> EM: compile start:[JET n=1822] java/util/Vector::removeAllElements()V
> EM: compile done:[JET n=1822: OK] java/util/Vector::removeAllElements()V
> EM: compile start:[JET n=1823] java/lang/VMExecutionEngine::exit(IZ)V
> EM: compile done:[JET n=1823: OK]
> java/lang/VMExecutionEngine::exit(IZ)V
>
> is the last method to be compiled.
Thanks for investigation!
Looks like your app hangs just before the VM exit. That's a strange
problem I've never seen before. Possibly, it is easy to reduce the app
into a quite small piece of code that hangs in the same way. Then I
could reproduce it on my machine...
Does it look like a happy doing?
Otherwise, I see no obvious ways to investigate further :(
--
Egor Pasko, Intel Managed Runtime 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