2009-01-19 Christian Hergert <christian.hergert@gmail.com>
authorChristian Hergert <chris@dronelabs.com>
Mon, 19 Jan 2009 23:00:30 +0000 (23:00 -0000)
committerChristian Hergert <chris@dronelabs.com>
Mon, 19 Jan 2009 23:00:30 +0000 (23:00 -0000)
* object.c (mono_raise_exception): Remove call to InterlockedIncrement
as it is performed elsewhere.

Code is contributed under MIT/X11 license

svn path=/trunk/mono/; revision=123836

mono/metadata/ChangeLog
mono/metadata/object.c

index 832417dfc14c9445fdb516ad1aed68106d87365b..80f735f726b54e8102f994ef4a91db0bf197f202 100644 (file)
@@ -1,3 +1,10 @@
+2009-01-19  Christian Hergert  <christian.hergert@gmail.com>
+
+       * object.c (mono_raise_exception): Remove call to InterlockedIncrement
+       as it is performed elsewhere.
+
+       Code is contributed under MIT/X11 license
+
 2009-01-19  Christian Hergert  <christian.hergert@gmail.com>
 
        * mono-perfcounters-def.h: Add counters for asp.net requests total and
index 4f8e8e8e074333af4a943b817995ca0274c48af6..93e5c52e3ec99b962316db14201998a4250e7f7b 100644 (file)
@@ -4763,8 +4763,6 @@ mono_raise_exception (MonoException *ex)
                MONO_OBJECT_SETREF (mono_thread_current (), abort_exc, ex);
        
        ex_handler (ex);
-
-       InterlockedIncrement ((gint32*)&mono_perfcounters->exceptions_thrown);
 }
 
 /**