bin/nashorn/runopt.sh
changeset 50708 bd3a8f48597e
parent 47216 71c04702a3d5
equal deleted inserted replaced
50707:ed45d8e6a44b 50708:bd3a8f48597e
     1 #!/bin/sh
     1 #!/bin/sh
     2 #
     2 #
     3 # Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
     3 # Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved.
     4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5 # 
     5 # 
     6 # This code is free software; you can redistribute it and/or modify it
     6 # This code is free software; you can redistribute it and/or modify it
     7 # under the terms of the GNU General Public License version 2 only, as
     7 # under the terms of the GNU General Public License version 2 only, as
     8 # published by the Free Software Foundation.
     8 # published by the Free Software Foundation.
    73 
    73 
    74 # Flight recorder
    74 # Flight recorder
    75 #
    75 #
    76 # see above - already in place, copy the flags down here to disable
    76 # see above - already in place, copy the flags down here to disable
    77 ENABLE_FLIGHT_RECORDER_FLAGS="\
    77 ENABLE_FLIGHT_RECORDER_FLAGS="\
    78     -XX:+UnlockCommercialFeatures \
       
    79     -XX:+FlightRecorder \
    78     -XX:+FlightRecorder \
    80     -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath=$JFR_FILENAME,stackdepth=1024"
    79     -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath=$JFR_FILENAME,stackdepth=1024"
    81 
    80 
    82 # Type specialization and math intrinsic replacement should be enabled by default in 8u20 and nine,
    81 # Type specialization and math intrinsic replacement should be enabled by default in 8u20 and nine,
    83 # keeping this flag around for experimental reasons. Replace + with - to switch it off
    82 # keeping this flag around for experimental reasons. Replace + with - to switch it off