dongjoon-hyun commented on PR #52678:
URL: https://github.com/apache/spark/pull/52678#issuecomment-3437888266
I manually verified. Merged to master for Apache Spark 4.1.0-preview3.
```
$ bin/spark-shell --conf "spark.driver.extraJavaOptions=-XX:+UseShenandoahGC"
WARNING: Using incubator modules: jdk.incubator.vector
Using Spark's default log4j profile:
org/apache/spark/log4j2-defaults.properties
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use
setLogLevel(newLevel).
Welcome to
____ __
/ __/__ ___ _____/ /__
_\ \/ _ \/ _ `/ __/ '_/
/___/ .__/\_,_/_/ /_/\_\ version 4.1.0-SNAPSHOT
/_/
Using Scala version 2.13.17 (OpenJDK 64-Bit Server VM, Java 21.0.8)
Type in expressions to have them evaluated.
Type :help for more information.
25/10/23 09:11:40 WARN NativeCodeLoader: Unable to load native-hadoop
library for your platform... using builtin-java classes where applicable
Spark context Web UI available at http://localhost:4040
Spark context available as 'sc' (master = local[*], app id =
local-1761235900588).
Spark session available as 'spark'.
scala> org.apache.spark.util.Utils.isG1GC
val res0: Boolean = false
scala> org.apache.spark.util.Utils.isZGC
val res1: Boolean = false
scala> org.apache.spark.util.Utils.isShenandoahGC
val res2: Boolean = true
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]