From c64bdfa919cbb61cef636519673d780a2f2b6923 Mon Sep 17 00:00:00 2001 From: gatorsmile Date: Tue, 30 Jan 2018 08:06:57 -0800 Subject: [PATCH] update --- .../main/scala/org/apache/spark/sql/internal/SQLConf.scala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala index 38ccb0c03e101..1e1bf8f9eaa42 100644 --- a/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala +++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala @@ -661,7 +661,10 @@ object SQLConf { .internal() .doc("The maximum bytecode size of a single compiled Java function generated by whole-stage " + "codegen. When the compiled function exceeds this threshold, the whole-stage codegen is " + - "deactivated for this subtree of the current query plan. The default value is 65535.") + "deactivated for this subtree of the current query plan. The default value is 65535, which " + + "is the largest bytecode size possible for a valid Java method. When running on HotSpot, " + + s"it may be preferable to set the value to ${CodeGenerator.DEFAULT_JVM_HUGE_METHOD_LIMIT} " + + "to match HotSpot's implementation.") .intConf .createWithDefault(65535)