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/10/30 17:58:26 UTC

svn commit: r590154 - /harmony/enhanced/drlvm/trunk/vm/include/open/hythread_ext.h

Author: gshimansky
Date: Tue Oct 30 09:58:25 2007
New Revision: 590154

URL: http://svn.apache.org/viewvc?rev=590154&view=rev
Log:
Fix for HARMONY-5041
Make stack mapping limit 2Mb on 64-bit architectures. It is necessary to running some eclipse tests


Modified:
    harmony/enhanced/drlvm/trunk/vm/include/open/hythread_ext.h

Modified: harmony/enhanced/drlvm/trunk/vm/include/open/hythread_ext.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/include/open/hythread_ext.h?rev=590154&r1=590153&r2=590154&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/include/open/hythread_ext.h (original)
+++ harmony/enhanced/drlvm/trunk/vm/include/open/hythread_ext.h Tue Oct 30 09:58:25 2007
@@ -737,8 +737,13 @@
 // possible values for tm_status_t
 #define TM_OS_ERROR (TM_ERROR_START+1)
 
-// if default stack size is not through -Xss parameter, it is 256kb
+// if default stack size is not through -Xss parameter, it is 512kb
+#ifndef POINTER64
 #define TM_DEFAULT_STACKSIZE (512 * 1024)
+#else
+// Make stack size default to 2Mb on 64-bit platforms
+#define TM_DEFAULT_STACKSIZE (2048 * 1024)
+#endif
 
 // java thread status
 #define TM_STATUS_WITHOUT_JAVA  0   // native thread cannot has associated java thread