harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r470948 - /incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/exception/exceptions_jit.cpp
Date Fri, 03 Nov 2006 19:00:31 GMT
Author: geirm
Date: Fri Nov  3 11:00:31 2006
New Revision: 470948

URL: http://svn.apache.org/viewvc?view=rev&rev=470948
Log:
HARMONY-1934

[drlvm][jvmti] Always create exception object if TI is enabled

Ubuntu 6 - smoke, c-unit, ~kernel


Modified:
    incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/exception/exceptions_jit.cpp

Modified: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/exception/exceptions_jit.cpp
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/exception/exceptions_jit.cpp?view=diff&rev=470948&r1=470947&r2=470948
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/exception/exceptions_jit.cpp (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/exception/exceptions_jit.cpp Fri
Nov  3 11:00:31 2006
@@ -288,7 +288,8 @@
 
                 // Create exception if necessary
                 if (!*exn_obj) {
-                    if (handler->is_exc_obj_dead()) {
+                    if (handler->is_exc_obj_dead()
+                            && !VM_Global_State::loader_env->TI->isEnabled())
{
 #ifdef VM_STATS
                         VM_Statistics::get_vm_stats().num_exceptions_object_not_created++;
 #endif // VM_STATS



Mime
View raw message