You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ge...@apache.org on 2006/11/03 20:00:31 UTC
svn commit: r470948 -
/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/exception/exceptions_jit.cpp
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