harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r479973 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp
Date Tue, 28 Nov 2006 10:14:24 GMT
Author: varlax
Date: Tue Nov 28 02:14:24 2006
New Revision: 479973

URL: http://svn.apache.org/viewvc?view=rev&rev=479973
Log:
Fixed SIGSEGV in dump_all_java_stacks() on interpreter
as suggested by Ivan Volosyuk

Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp?view=diff&rev=479973&r1=479972&r2=479973
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp Tue Nov 28 02:14:24 2006
@@ -172,7 +172,7 @@
     native_thread ;
     while(native_thread = hythread_iterator_next(&iterator)) {
         vm_thread = get_vm_thread(native_thread);
-        assert(vm_thread);
+        if (!vm_thread) continue;
         interpreter.stack_dump(vm_thread);
     }
     hythread_resume_all(NULL);



Mime
View raw message