From bdda1e64b50b70410a8f9a01d272496fc6d5013a Mon Sep 17 00:00:00 2001 From: jjenista Date: Thu, 23 Jul 2009 22:45:31 +0000 Subject: [PATCH] ensure MLP system always uses precise garbage collection --- Robust/src/Tests/mlp/tinyTest/debugging.txt | 3 +++ Robust/src/Tests/mlp/tinyTest/test.java | 9 +++++---- Robust/src/buildscript | 4 ++-- 3 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 Robust/src/Tests/mlp/tinyTest/debugging.txt diff --git a/Robust/src/Tests/mlp/tinyTest/debugging.txt b/Robust/src/Tests/mlp/tinyTest/debugging.txt new file mode 100644 index 00000000..c7330059 --- /dev/null +++ b/Robust/src/Tests/mlp/tinyTest/debugging.txt @@ -0,0 +1,3 @@ +break garbage.c:721 +break garbage.c:731 +run diff --git a/Robust/src/Tests/mlp/tinyTest/test.java b/Robust/src/Tests/mlp/tinyTest/test.java index a060d857..027923b3 100644 --- a/Robust/src/Tests/mlp/tinyTest/test.java +++ b/Robust/src/Tests/mlp/tinyTest/test.java @@ -7,9 +7,9 @@ public class Test { sese fi { //if( true ) { - x = y + 2; - y = 3; - //} + x = y + 2; + y = 3; + //} } @@ -44,7 +44,8 @@ public class Test { System.out.println( "x="+x+", y="+y ); //} - + float xyz = 2.0f; + float jjj = Math.abs( xyz ); diff --git a/Robust/src/buildscript b/Robust/src/buildscript index 16b00ef5..06459124 100755 --- a/Robust/src/buildscript +++ b/Robust/src/buildscript @@ -305,12 +305,12 @@ JAVAOPTS="$JAVAOPTS -minimize" elif [[ $1 = '-mlp' ]] then MLPFLAG=true -EXTRAOPTIONS="$EXTRAOPTIONS -lpthread" +EXTRAOPTIONS="$EXTRAOPTIONS -precise -lpthread" elif [[ $1 = '-mlpdebug' ]] then JAVAOPTS="$JAVAOPTS -mlpdebug" MLPFLAG=true -EXTRAOPTIONS="$EXTRAOPTIONS -lpthread" +EXTRAOPTIONS="$EXTRAOPTIONS -precise -lpthread" elif [[ $1 = '-check' ]] then CHECKFLAG=true -- 2.34.1