Releng : Remove MaxPermSize usage since Java 8 does not need this
diff --git a/releng.new/build.xml b/releng.new/build.xml
index 9002161..0fbacb8 100644
--- a/releng.new/build.xml
+++ b/releng.new/build.xml
@@ -977,13 +977,12 @@
<if>
<contains string="@{platform}" substring="x86_64"/>
<then>
- <replaceregexp file="${.eclipse.ini}" match="([\n|\r]*)-Xmx[0-9]*m" replace="\1-Xmx1024m\1-XX:MaxPermSize=512m${.nl}-Djava.net.preferIPv4Stack=true"/>
+ <replaceregexp file="${.eclipse.ini}" match="([\n|\r]*)-Xmx[0-9]*m" replace="\1-Xmx1024m\1${.nl}-Djava.net.preferIPv4Stack=true"/>
</then>
<else>
- <replaceregexp file="${.eclipse.ini}" match="([\n|\r]*)-Xmx[0-9]*m" replace="\1-Xmx512m\1-XX:MaxPermSize=256m${.nl}-Djava.net.preferIPv4Stack=true"/>
+ <replaceregexp file="${.eclipse.ini}" match="([\n|\r]*)-Xmx[0-9]*m" replace="\1-Xmx512m\1${.nl}-Djava.net.preferIPv4Stack=true"/>
</else>
</if>
- <replaceregexp file="${.eclipse.ini}" match="[\n|\r]*--launcher.XXMaxPermSize[\n|\r]*[0-9]*m" replace=""/>
<var name=".eclipse.ini" unset="true"/>
<var name=".nl" unset="true"/>
</then>
diff --git a/releng.new/releng/ant-library/library.xml b/releng.new/releng/ant-library/library.xml
index e6d82e8..46fc9a3 100644
--- a/releng.new/releng/ant-library/library.xml
+++ b/releng.new/releng/ant-library/library.xml
@@ -299,7 +299,6 @@
</fileset>
</classpath>
<jvmarg value="-Xmx1024m"/>
- <jvmarg value="-XX:MaxPermSize=256m"/>
<arg line="-application @{application}"/>
<args/>
</java>