harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r573561 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/exception/exceptions_jit.cpp
Date Fri, 07 Sep 2007 12:47:03 GMT
Author: gshimansky
Date: Fri Sep  7 05:47:03 2007
New Revision: 573561

URL: http://svn.apache.org/viewvc?rev=573561&view=rev
Log:
Applied patch from HARMONY-3999
[drlvm][jvmti][jit] Jitrino does not send ExceptionCatch event


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

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/exception/exceptions_jit.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/exception/exceptions_jit.cpp?rev=573561&r1=573560&r2=573561&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/exception/exceptions_jit.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/exception/exceptions_jit.cpp Fri Sep  7 05:47:03
2007
@@ -500,8 +500,13 @@
     }
 
     if (ti->get_global_capability(DebugUtilsTI::TI_GC_ENABLE_EXCEPTION_EVENT)) {
+        Registers regs = {0};
+        VM_thread *thread = p_TLS_vmthread;
         NativeCodePtr callback = (NativeCodePtr)
                 asm_jvmti_exception_catch_callback;
+
+        si_copy_to_registers(si, &regs);
+        vm_set_exception_registers(thread, regs);
         si_set_callback(si, &callback);
     } else if (p_TLS_vmthread->restore_guard_page) {
         NativeCodePtr callback = (NativeCodePtr)



Mime
View raw message