Mercurial > hg > openjdk > jdk8u > jdk
changeset 14000:e36dcb7d407e jdk8u262-b09
8248399: Build installs jfr binary when JFR is disabled
Summary: Only build the jfr launcher when JFR is enabled.
Reviewed-by: sgehwolf
author | andrew |
---|---|
date | Fri, 26 Jun 2020 17:17:13 +0100 |
parents | a7d8aa26404d |
children | 4687075d8ccf |
files | make/CompileLaunchers.gmk |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/make/CompileLaunchers.gmk Mon Jun 22 16:19:36 2020 +0100 +++ b/make/CompileLaunchers.gmk Fri Jun 26 17:17:13 2020 +0100 @@ -302,9 +302,11 @@ -DJAVA_ARGS='{ "-J-ms8m"$(COMMA) "com.sun.tools.example.debug.tty.TTY"$(COMMA) }' \ -DAPP_CLASSPATH='{ "/lib/tools.jar"$(COMMA) "/lib/sa-jdi.jar"$(COMMA) "/classes" }')) +ifeq ($(ENABLE_JFR), true) $(eval $(call SetupLauncher,jfr, \ -DEXPAND_CLASSPATH_WILDCARDS \ -DJAVA_ARGS='{ "-J-ms8m"$(COMMA) "jdk.jfr.internal.tool.Main"$(COMMA) }')) +endif $(eval $(call SetupLauncher,jhat, \ -DJAVA_ARGS='{ "-J-ms8m"$(COMMA) "com.sun.tools.hat.Main"$(COMMA) }'))