@@ -650,6 +650,7 @@ TEST_JOBS
650
650
JOBS
651
651
MEMORY_SIZE
652
652
NUM_CORES
653
+ ENABLE_GENERATE_CLASSLIST
653
654
BUILD_FAILURE_HANDLER
654
655
ENABLE_INTREE_EC
655
656
STLPORT_LIB
@@ -1226,6 +1227,7 @@ with_dxsdk
1226
1227
with_dxsdk_lib
1227
1228
with_dxsdk_include
1228
1229
enable_jtreg_failure_handler
1230
+ enable_generate_classlist
1229
1231
with_num_cores
1230
1232
with_memory_size
1231
1233
with_jobs
@@ -2005,6 +2007,10 @@ Optional Features:
2005
2007
Default is auto, where the failure handler is built
2006
2008
if all dependencies are present and otherwise just
2007
2009
disabled.
2010
+ --disable-generate-classlist
2011
+ forces enabling or disabling of the generation of a
2012
+ CDS classlist at build time. Default is to generate
2013
+ it when either the server or client JVMs are built.
2008
2014
--enable-sjavac use sjavac to do fast incremental compiles
2009
2015
[disabled]
2010
2016
--disable-javac-server disable javac server [enabled]
@@ -4391,6 +4397,12 @@ VALID_JVM_VARIANTS="server client minimal core zero zeroshark custom"
4391
4397
#
4392
4398
4393
4399
4400
+ ################################################################################
4401
+ #
4402
+ # Enable or disable generation of the classlist at build time
4403
+ #
4404
+
4405
+
4394
4406
#
4395
4407
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
4396
4408
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -5080,7 +5092,7 @@ VS_SDK_PLATFORM_NAME_2013=
5080
5092
#CUSTOM_AUTOCONF_INCLUDE
5081
5093
5082
5094
# Do not change or remove the following line, it is needed for consistency checks:
5083
- DATE_WHEN_GENERATED=1463732692
5095
+ DATE_WHEN_GENERATED=1464173584
5084
5096
5085
5097
###############################################################################
5086
5098
#
@@ -64812,6 +64824,51 @@ $as_echo "yes, jtreg present" >&6; }
64812
64824
64813
64825
64814
64826
64827
+ # Check whether --enable-generate-classlist was given.
64828
+ if test "${enable_generate_classlist+set}" = set; then :
64829
+ enableval=$enable_generate_classlist;
64830
+ fi
64831
+
64832
+
64833
+ # Check if it's likely that it's possible to generate the classlist. Depending
64834
+ # on exact jvm configuration it could be possible anyway.
64835
+ if [[ " $JVM_VARIANTS " =~ " server " ]] || [[ " $JVM_VARIANTS " =~ " client " ]] ; then
64836
+ ENABLE_GENERATE_CLASSLIST_POSSIBLE="true"
64837
+ else
64838
+ ENABLE_GENERATE_CLASSLIST_POSSIBLE="false"
64839
+ fi
64840
+
64841
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the CDS classlist generation should be enabled" >&5
64842
+ $as_echo_n "checking if the CDS classlist generation should be enabled... " >&6; }
64843
+ if test "x$enable_generate_classlist" = "xyes"; then
64844
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, forced" >&5
64845
+ $as_echo "yes, forced" >&6; }
64846
+ ENABLE_GENERATE_CLASSLIST="true"
64847
+ if test "x$ENABLE_GENERATE_CLASSLIST_POSSIBLE" = "xfalse"; then
64848
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Generation of classlist might not be possible with JVM Variants $JVM_VARIANTS" >&5
64849
+ $as_echo "$as_me: WARNING: Generation of classlist might not be possible with JVM Variants $JVM_VARIANTS" >&2;}
64850
+ fi
64851
+ elif test "x$enable_generate_classlist" = "xno"; then
64852
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, forced" >&5
64853
+ $as_echo "no, forced" >&6; }
64854
+ ENABLE_GENERATE_CLASSLIST="false"
64855
+ elif test "x$enable_generate_classlist" = "x"; then
64856
+ if test "x$ENABLE_GENERATE_CLASSLIST_POSSIBLE" = "xtrue"; then
64857
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
64858
+ $as_echo "yes" >&6; }
64859
+ ENABLE_GENERATE_CLASSLIST="true"
64860
+ else
64861
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64862
+ $as_echo "no" >&6; }
64863
+ ENABLE_GENERATE_CLASSLIST="false"
64864
+ fi
64865
+ else
64866
+ as_fn_error $? "Invalid value for --enable-generate-classlist: $enable_generate_classlist" "$LINENO" 5
64867
+ fi
64868
+
64869
+
64870
+
64871
+
64815
64872
###############################################################################
64816
64873
#
64817
64874
# Configure parts of the build that only affect the build performance,
0 commit comments