--- old/make/nashorn/project.properties 2018-04-09 14:11:05.267936874 +0200 +++ new/make/nashorn/project.properties 2018-04-09 14:11:03.686837043 +0200 @@ -1,5 +1,5 @@ # -# Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -98,8 +98,8 @@ dist.nashornapi.javadoc.dir=${dist.javadoc.dir}/nashornapi dist.dynalinkapi.javadoc.dir=${dist.javadoc.dir}/dynalinkapi -# configuration for java flight recorder -run.test.jvmargs.jfr=-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath=${build.dir},stackdepth=128 +# configuration for flight recorder +run.test.jvmargs.jfr=XX:StartFlightRecording=disk=true,dumponexit=true,dumponexitpath=${build.dir},stackdepth=128 # test library location test.lib=test/nashorn/lib @@ -354,7 +354,7 @@ # uncomment this jfr.args to enable light recordings. the stack needs to be cranked up to 1024 frames, # or everything will as of the now drown in lambda forms and be cut off. # -#jfr.args=-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath="test_suite.jfr",stackdepth=1024 \ +#jfr.args=-XX:StartFlightRecording=disk=true,dumponexit=true,dumponexitpath="test_suite.jfr",stackdepth=1024 jfr.args=