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 19:43:28 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X 024f366de -> 21fd7de54


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

(cherry picked from commit 6e7e329)


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

Branch: refs/heads/GROOVY_2_6_X
Commit: 21fd7de548894afb93df7f61b064ad2b01765e27
Parents: 024f366
Author: sunlan <sunlan@apache.org>
Authored: Fri Dec 22 23:46:39 2017 +0800
Committer: sunlan <sunlan@apache.org>
Committed: Sat Dec 23 03:43:18 2017 +0800

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/21fd7de5/gradle.properties
----------------------------------------------------------------------
diff --git a/gradle.properties b/gradle.properties
index b626f63..94e2b92 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -33,7 +33,7 @@ javaDoc_mx=1g
 # jdk 9
 #org.gradle.jvmargs=-ea -Xmx1G
 # 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