< prev index next >

make/nashorn/project.properties

Print this page
rev 49619 : JEP 328 : Flight Recorder open source preview
   1 #
   2 # Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.
   8 #
   9 # This code is distributed in the hope that it will be useful, but WITHOUT
  10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12 # version 2 for more details (a copy is included in the LICENSE file that
  13 # accompanied this code).
  14 #
  15 # You should have received a copy of the GNU General Public License version
  16 # 2 along with this work; if not, write to the Free Software Foundation,
  17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 #
  19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 # or visit www.oracle.com if you need additional information or have any
  21 # questions.
  22 #


  81 build.test.classes.dir=${build.dir}/test/classes
  82 
  83 # nashorn test jar - internal tests jar and api tests jar
  84 nashorn.internal.tests.jar=${build.dir}/nashorn-internal-tests.jar
  85 nashorn.api.tests.jar=${build.dir}/nashorn-api-tests.jar
  86 
  87 # test results directory
  88 build.test.results.dir=${build.dir}/test/reports
  89 build.nosecurity.test.results.dir=${build.dir}/test/nosecurity/reports
  90 build.nooptimistic.test.results.dir=${build.dir}/test/nooptimistic/reports
  91 
  92 # This directory is removed when the project is cleaned:
  93 dist.dir=build/nashorn/dist
  94 dynalink.jar=${dist.dir}/dynalink.jar
  95 nashorn.jar=${dist.dir}/nashorn.jar
  96 jjs.jar=${dist.dir}/jjs.jar
  97 dist.javadoc.dir=${dist.dir}/javadoc
  98 dist.nashornapi.javadoc.dir=${dist.javadoc.dir}/nashornapi
  99 dist.dynalinkapi.javadoc.dir=${dist.javadoc.dir}/dynalinkapi
 100 
 101 # configuration for java flight recorder
 102 run.test.jvmargs.jfr=-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath=${build.dir},stackdepth=128
 103 
 104 # test library location
 105 test.lib=test/nashorn/lib
 106 
 107 # jars refererred
 108 file.reference.testng.jar=${test.lib}${file.separator}testng-6.8.jar
 109 file.reference.jcommander.jar=${test.lib}${file.separator}jcommander-1.27.jar
 110 file.reference.bsh.jar=${test.lib}${file.separator}bsh-2.0b4.jar
 111 file.reference.snakeyaml.jar=${test.lib}${file.separator}snakeyaml-1.6.jar
 112 file.reference.asmtools.jar=${test.lib}${file.separator}asmtools-60.jar
 113 
 114 # TestNG ant task classpath
 115 testng.ant.classpath=\
 116     ${file.reference.testng.jar}${path.separator}\
 117     ${file.reference.jcommander.jar}${path.separator}\
 118     ${file.reference.bsh.jar}${path.separator}\
 119     ${file.reference.snakeyaml.jar}${path.separator}
 120 
 121 # Set testng verbose level
 122 # From TestNG docs: "the verbosity level (0 to 10 where 10 is most detailed)


 337 dynalink.module.classes.dir=${build.classes.dir}/jdk.dynalink
 338 nashorn.module.src.dir=src/jdk.scripting.nashorn/share/classes
 339 nashorn.module.classes.dir=${build.classes.dir}/jdk.scripting.nashorn
 340 nashorn.shell.module.src.dir=src/jdk.scripting.nashorn.shell/share/classes
 341 nashorn.shell.module.classes.dir=${build.classes.dir}/jdk.scripting.nashorn.shell
 342 
 343 src.dir=${dynalink.module.src.dir}${path.separator}\
 344         ${nashorn.module.src.dir}${path.separator}\
 345         ${nashorn.shell.module.src.dir}${path.separator}\
 346         ${jdk.jline.src.dir}
 347 
 348 test.src.dir=test/nashorn/src
 349 
 350 # -Xmx is used for all tests, -Xms only for octane benchmark
 351 run.test.xmx=2G
 352 run.test.xms=2G
 353 
 354 # uncomment this jfr.args to enable light recordings. the stack needs to be cranked up to 1024 frames,
 355 # or everything will as of the now drown in lambda forms and be cut off.
 356 #
 357 #jfr.args=-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath="test_suite.jfr",stackdepth=1024 \
 358 
 359 jfr.args=
 360 
 361 run.test.user.language=tr
 362 run.test.user.country=TR
 363 
 364 run.test.jvmargs.common=\
 365   -server \
 366   ${test.module.imports.runtime} \
 367   ${run.test.jvmargs.external} \
 368   --add-modules jdk.scripting.nashorn.shell \
 369   ${nashorn.override.option} \
 370   -Dfile.encoding=UTF-8 \
 371   -Duser.language=${run.test.user.language} \
 372   -Duser.country=${run.test.user.country} \
 373   -Dnashorn.typeInfo.cacheDir=${build.dir}${file.separator}test${file.separator}type_info_cache \
 374   ${jfr.args} \
 375   -XX:+HeapDumpOnOutOfMemoryError
 376 
 377 # turn on assertions for tests


   1 #
   2 # Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.
   8 #
   9 # This code is distributed in the hope that it will be useful, but WITHOUT
  10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12 # version 2 for more details (a copy is included in the LICENSE file that
  13 # accompanied this code).
  14 #
  15 # You should have received a copy of the GNU General Public License version
  16 # 2 along with this work; if not, write to the Free Software Foundation,
  17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 #
  19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 # or visit www.oracle.com if you need additional information or have any
  21 # questions.
  22 #


  81 build.test.classes.dir=${build.dir}/test/classes
  82 
  83 # nashorn test jar - internal tests jar and api tests jar
  84 nashorn.internal.tests.jar=${build.dir}/nashorn-internal-tests.jar
  85 nashorn.api.tests.jar=${build.dir}/nashorn-api-tests.jar
  86 
  87 # test results directory
  88 build.test.results.dir=${build.dir}/test/reports
  89 build.nosecurity.test.results.dir=${build.dir}/test/nosecurity/reports
  90 build.nooptimistic.test.results.dir=${build.dir}/test/nooptimistic/reports
  91 
  92 # This directory is removed when the project is cleaned:
  93 dist.dir=build/nashorn/dist
  94 dynalink.jar=${dist.dir}/dynalink.jar
  95 nashorn.jar=${dist.dir}/nashorn.jar
  96 jjs.jar=${dist.dir}/jjs.jar
  97 dist.javadoc.dir=${dist.dir}/javadoc
  98 dist.nashornapi.javadoc.dir=${dist.javadoc.dir}/nashornapi
  99 dist.dynalinkapi.javadoc.dir=${dist.javadoc.dir}/dynalinkapi
 100 
 101 # configuration for flight recorder
 102 run.test.jvmargs.jfr=XX:StartFlightRecording=disk=true,dumponexit=true,dumponexitpath=${build.dir},stackdepth=128
 103 
 104 # test library location
 105 test.lib=test/nashorn/lib
 106 
 107 # jars refererred
 108 file.reference.testng.jar=${test.lib}${file.separator}testng-6.8.jar
 109 file.reference.jcommander.jar=${test.lib}${file.separator}jcommander-1.27.jar
 110 file.reference.bsh.jar=${test.lib}${file.separator}bsh-2.0b4.jar
 111 file.reference.snakeyaml.jar=${test.lib}${file.separator}snakeyaml-1.6.jar
 112 file.reference.asmtools.jar=${test.lib}${file.separator}asmtools-60.jar
 113 
 114 # TestNG ant task classpath
 115 testng.ant.classpath=\
 116     ${file.reference.testng.jar}${path.separator}\
 117     ${file.reference.jcommander.jar}${path.separator}\
 118     ${file.reference.bsh.jar}${path.separator}\
 119     ${file.reference.snakeyaml.jar}${path.separator}
 120 
 121 # Set testng verbose level
 122 # From TestNG docs: "the verbosity level (0 to 10 where 10 is most detailed)


 337 dynalink.module.classes.dir=${build.classes.dir}/jdk.dynalink
 338 nashorn.module.src.dir=src/jdk.scripting.nashorn/share/classes
 339 nashorn.module.classes.dir=${build.classes.dir}/jdk.scripting.nashorn
 340 nashorn.shell.module.src.dir=src/jdk.scripting.nashorn.shell/share/classes
 341 nashorn.shell.module.classes.dir=${build.classes.dir}/jdk.scripting.nashorn.shell
 342 
 343 src.dir=${dynalink.module.src.dir}${path.separator}\
 344         ${nashorn.module.src.dir}${path.separator}\
 345         ${nashorn.shell.module.src.dir}${path.separator}\
 346         ${jdk.jline.src.dir}
 347 
 348 test.src.dir=test/nashorn/src
 349 
 350 # -Xmx is used for all tests, -Xms only for octane benchmark
 351 run.test.xmx=2G
 352 run.test.xms=2G
 353 
 354 # uncomment this jfr.args to enable light recordings. the stack needs to be cranked up to 1024 frames,
 355 # or everything will as of the now drown in lambda forms and be cut off.
 356 #
 357 #jfr.args=-XX:StartFlightRecording=disk=true,dumponexit=true,dumponexitpath="test_suite.jfr",stackdepth=1024
 358 
 359 jfr.args=
 360 
 361 run.test.user.language=tr
 362 run.test.user.country=TR
 363 
 364 run.test.jvmargs.common=\
 365   -server \
 366   ${test.module.imports.runtime} \
 367   ${run.test.jvmargs.external} \
 368   --add-modules jdk.scripting.nashorn.shell \
 369   ${nashorn.override.option} \
 370   -Dfile.encoding=UTF-8 \
 371   -Duser.language=${run.test.user.language} \
 372   -Duser.country=${run.test.user.country} \
 373   -Dnashorn.typeInfo.cacheDir=${build.dir}${file.separator}test${file.separator}type_info_cache \
 374   ${jfr.args} \
 375   -XX:+HeapDumpOnOutOfMemoryError
 376 
 377 # turn on assertions for tests


< prev index next >