This is an automated email from the ASF dual-hosted git repository.

lresende pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-toree.git


The following commit(s) were added to refs/heads/master by this push:
     new 61380e84 [TOREE-547] Remove unnecessary Java options (#213)
61380e84 is described below

commit 61380e842fe21dca8fc4418731bfb096543f18a0
Author: Cheng Pan <[email protected]>
AuthorDate: Fri Aug 11 00:36:15 2023 +0800

    [TOREE-547] Remove unnecessary Java options (#213)
---
 .jvmopts  | 6 ------
 build.sbt | 6 ++----
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/.jvmopts b/.jvmopts
index 0c9757c0..80ad8010 100644
--- a/.jvmopts
+++ b/.jvmopts
@@ -18,11 +18,5 @@
 -Xmx4096M
 -Xss2m
 -XX:MetaspaceSize=1024m
--XX:+UseCompressedOops
--XX:+UseCompressedClassPointers
 -XX:ReservedCodeCacheSize=256M
--XX:+TieredCompilation
--XX:+CMSClassUnloadingEnabled
--XX:+UseConcMarkSweepGC
 -XX:+HeapDumpOnOutOfMemoryError
-
diff --git a/build.sbt b/build.sbt
index 4c32a31e..37066dec 100644
--- a/build.sbt
+++ b/build.sbt
@@ -63,10 +63,8 @@ ThisBuild / javacOptions ++= Seq(
 )
 // Options provided to forked JVMs through sbt, based on our .jvmopts file
 ThisBuild / javaOptions ++= Seq(
-  "-Xms1024M", "-Xmx4096M", "-Xss2m", "-XX:MaxPermSize=1024M",
-  "-XX:ReservedCodeCacheSize=256M", "-XX:+TieredCompilation",
-  "-XX:+CMSClassUnloadingEnabled",
-  "-XX:+UseConcMarkSweepGC", "-XX:+HeapDumpOnOutOfMemoryError"
+  "-Xms1024M", "-Xmx4096M", "-Xss2m", "-XX:MetaspaceSize=1024M",
+  "-XX:ReservedCodeCacheSize=256M", "-XX:+HeapDumpOnOutOfMemoryError"
 )
 // Add additional test option to show time taken per test
 ThisBuild / Test / testOptions += Tests.Argument("-oDF")

Reply via email to