[jflex/f21] Increase stack size to 16M

Mikolaj Izdebski mizdebsk at fedoraproject.org
Tue Jul 15 07:13:21 UTC 2014


commit e591ac5db414f7d1a73266e1515d27f329161f64
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Tue Jul 15 09:13:27 2014 +0200

    Increase stack size to 16M

 jflex.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/jflex.spec b/jflex.spec
index b62b035..c66c3f1 100644
--- a/jflex.spec
+++ b/jflex.spec
@@ -49,8 +49,8 @@ This package provides %{summary}.
 %pom_remove_plugin :jflex-maven-plugin
 
 # Tests fail with 320k stacks (default on i686), so lets increase
-# stack to 1M.  See rhbz#1119308
-%pom_xpath_inject "pom:plugin[pom:artifactId='maven-surefire-plugin']/pom:configuration" "<argLine>-Xss1024k</argLine>"
+# stack to 16M to avoid stack overflows.  See rhbz#1119308
+%pom_xpath_inject "pom:plugin[pom:artifactId='maven-surefire-plugin']/pom:configuration" "<argLine>-Xss16384k</argLine>"
 
 %build
 java -jar /usr/share/java/java_cup.jar -parser LexParse -interface -destdir src/main/java src/main/cup/LexParse.cup


More information about the scm-commits mailing list