You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2019/09/09 23:40:57 UTC
[hive] branch master updated: HIVE-22076 : JDK11: Remove ParallelGC
in debug.sh (Gopal V via Ashutosh Chauhan)
This is an automated email from the ASF dual-hosted git repository.
hashutosh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new d244da5 HIVE-22076 : JDK11: Remove ParallelGC in debug.sh (Gopal V via Ashutosh Chauhan)
d244da5 is described below
commit d244da5a6e2b79c47c700cf4b4ba63b2bf8e8790
Author: Gopal V <go...@apache.org>
AuthorDate: Thu Aug 1 23:22:00 2019 -0800
HIVE-22076 : JDK11: Remove ParallelGC in debug.sh (Gopal V via Ashutosh Chauhan)
Signed-off-by: Ashutosh Chauhan <as...@cloudera.com>
---
bin/ext/debug.sh | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/bin/ext/debug.sh b/bin/ext/debug.sh
index a20dd31..e504c90 100644
--- a/bin/ext/debug.sh
+++ b/bin/ext/debug.sh
@@ -71,14 +71,12 @@ get_debug_params(){
set_debug_defaults
parse_debug $1
- # For Debug -XX:+UseParallelGC is needed, as it is a (unfortunately not perfect)
- # workaround for JVM 6862295 bug, that affects some JVMs still in use
if does_jvm_support_ti; then
- export HIVE_MAIN_CLIENT_DEBUG_OPTS=" -XX:+UseParallelGC -agentlib:jdwp=transport=dt_socket,server=y,$port,$main_suspend"
- export HIVE_CHILD_CLIENT_DEBUG_OPTS=" -XX:+UseParallelGC -agentlib:jdwp=transport=dt_socket,server=y,$child_suspend"
+ export HIVE_MAIN_CLIENT_DEBUG_OPTS=" -agentlib:jdwp=transport=dt_socket,server=y,$port,$main_suspend"
+ export HIVE_CHILD_CLIENT_DEBUG_OPTS=" -agentlib:jdwp=transport=dt_socket,server=y,$child_suspend"
else
- export HIVE_MAIN_CLIENT_DEBUG_OPTS=" -XX:+UseParallelGC -Xdebug -Xrunjdwp:transport=dt_socket,server=y,$port,$main_suspend"
- export HIVE_CHILD_CLIENT_DEBUG_OPTS=" -XX:+UseParallelGC -Xdebug -Xrunjdwp:transport=dt_socket,server=y,$child_suspend"
+ export HIVE_MAIN_CLIENT_DEBUG_OPTS=" -Xdebug -Xrunjdwp:transport=dt_socket,server=y,$port,$main_suspend"
+ export HIVE_CHILD_CLIENT_DEBUG_OPTS=" -Xdebug -Xrunjdwp:transport=dt_socket,server=y,$child_suspend"
fi
}