You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by gs...@apache.org on 2007/02/02 16:41:55 UTC

svn commit: r502630 - /harmony/enhanced/drlvm/trunk/vm/thread/src/thread_private.h

Author: gshimansky
Date: Fri Feb  2 07:41:55 2007
New Revision: 502630

URL: http://svn.apache.org/viewvc?view=rev&rev=502630
Log:
Applied HARMONY-3105 [DRLVM][hythread] Enable Lock Reservation on x86_64.

Tested on SuSE9 x86_64


Modified:
    harmony/enhanced/drlvm/trunk/vm/thread/src/thread_private.h

Modified: harmony/enhanced/drlvm/trunk/vm/thread/src/thread_private.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/thread/src/thread_private.h?view=diff&rev=502630&r1=502629&r2=502630
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/thread/src/thread_private.h (original)
+++ harmony/enhanced/drlvm/trunk/vm/thread/src/thread_private.h Fri Feb  2 07:41:55 2007
@@ -50,13 +50,13 @@
 #define MAX_OWNED_MONITOR_NUMBER 200 //FIXME: switch to dynamic resize
 #define FAST_LOCAL_STORAGE_SIZE 10
 
-#if !defined (_EM64T_) && !defined (_IPF_)
+#if !defined (_IPF_)
 //use lock reservation
 #define LOCK_RESERVATION
 // spin with try_lock SPIN_COUNT times
 #define SPIN_COUNT 5
 
-#endif //!defined (_EM64T_) && !defined (_IPF_)
+#endif // !defined (_IPF_)
 
 #ifdef WIN32
 //use optimized asm monitor enter and exit helpers