From: <dgr...@us...> - 2009-04-20 16:36:25
|
Revision: 8231 http://x10.svn.sourceforge.net/x10/?rev=8231&view=rev Author: dgrove-oss Date: 2009-04-20 16:36:16 +0000 (Mon, 20 Apr 2009) Log Message: ----------- enable bdw conservative gc by default when building for linux. This works for me on several 32 and 64 bit linux machines. If there are problems, it is simple enough to back it out. Note: after updating, a complete rebuild is required. Modified Paths: -------------- trunk/x10.cppbackend.17/src/polyglot/ext/x10cpp/visit/X10CPPTranslator.java trunk/x10.runtime.17/build.xml Modified: trunk/x10.cppbackend.17/src/polyglot/ext/x10cpp/visit/X10CPPTranslator.java =================================================================== --- trunk/x10.cppbackend.17/src/polyglot/ext/x10cpp/visit/X10CPPTranslator.java 2009-04-17 20:50:33 UTC (rev 8230) +++ trunk/x10.cppbackend.17/src/polyglot/ext/x10cpp/visit/X10CPPTranslator.java 2009-04-20 16:36:16 UTC (rev 8231) @@ -592,8 +592,7 @@ assert (PLATFORM.startsWith("linux_")); } - /** Disable for now. TODO: enable */ - protected boolean gcEnabled() { return false; } + protected boolean gcEnabled() { return true; } protected void addPreArgs(ArrayList<String> cxxCmd) { super.addPreArgs(cxxCmd); Modified: trunk/x10.runtime.17/build.xml =================================================================== --- trunk/x10.runtime.17/build.xml 2009-04-17 20:50:33 UTC (rev 8230) +++ trunk/x10.runtime.17/build.xml 2009-04-20 16:36:16 UTC (rev 8231) @@ -58,8 +58,8 @@ <!-- Determine whether or not we should be building with GC enabled --> <condition property="bdwgc.enabled"> - <!--<os family="unix" name="linux"/>--> - <istrue value="false"/> + <os family="unix" name="linux"/> + <!-- <istrue value="false"/> --> </condition> <condition property="cppmake.gcarg" value="ENABLE_GC=1" else="DISABLE_GC=1"> <isset property="bdwgc.enabled" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |