harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r546841 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_method.cpp
Date Wed, 13 Jun 2007 12:39:41 GMT
Author: gshimansky
Date: Wed Jun 13 05:39:40 2007
New Revision: 546841

URL: http://svn.apache.org/viewvc?view=rev&rev=546841
Log:
Added tracing for method enter/exit to improve debugging


Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_method.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_method.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_method.cpp?view=diff&rev=546841&r1=546840&r2=546841
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_method.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_method.cpp Wed Jun 13 05:39:40
2007
@@ -678,6 +678,10 @@
 {
     BEGIN_RAISE_AREA;
 
+    TRACE2("jvmti.event.method.entry", "MethodEntry: " <<
+        class_get_name(method_get_class(method)) << "." <<
+        method_get_name(method) << method_get_descriptor(method));
+
     jvmti_process_method_entry_event(reinterpret_cast<jmethodID>(method));
 
     END_RAISE_AREA;
@@ -686,6 +690,10 @@
 void jvmti_method_exit_callback(Method_Handle method, jvalue* return_value)
 {
     BEGIN_RAISE_AREA;
+
+    TRACE2("jvmti.event.method.entry", "MethodExit: " <<
+        class_get_name(method_get_class(method)) << "." <<
+        method_get_name(method) << method_get_descriptor(method));
 
     Method *m = reinterpret_cast<Method *>(method);
     jmethodID mid = reinterpret_cast<jmethodID>(method);



Mime
View raw message