groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject groovy git commit: Ignore unrecognized VM options
Date Fri, 22 Dec 2017 15:46:51 GMT
Repository: groovy
Updated Branches:
  refs/heads/master 0d80c49e1 -> 6e7e32907


Ignore unrecognized VM options

Some VM options such as `-XX:+CMSPermGenSweepingEnabled` are removed in JDK9[1], so JVM will
fail to start if these unrecognized VM options are not ignored.

[1] http://www.oracle.com/technetwork/java/javase/9-removed-features-3745614.html


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/6e7e3290
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/6e7e3290
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/6e7e3290

Branch: refs/heads/master
Commit: 6e7e32907260b031e29e0a1753fe66d21795bbc6
Parents: 0d80c49
Author: sunlan <sunlan@apache.org>
Authored: Fri Dec 22 23:46:39 2017 +0800
Committer: sunlan <sunlan@apache.org>
Committed: Fri Dec 22 23:46:39 2017 +0800

----------------------------------------------------------------------
 gradle.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/6e7e3290/gradle.properties
----------------------------------------------------------------------
diff --git a/gradle.properties b/gradle.properties
index 903b2c4..37f613c 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -33,7 +33,7 @@ javaDoc_mx=1g
 # jdk 9
 #org.gradle.jvmargs=-ea -Xmx1500m
 # jdk 6-8
-org.gradle.jvmargs=-Xms800m -Xmx1500m -XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled
-XX:+CMSPermGenSweepingEnabled
+org.gradle.jvmargs=-Xms800m -Xmx1500m -XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled
-XX:+CMSPermGenSweepingEnabled -XX:+IgnoreUnrecognizedVMOptions
 
 # enable the Gradle build cache
 org.gradle.caching=true


Mime
View raw message