Skip to content

Commit ef50adf

Browse files
committed
Add invokedynamic property (disabling) to --dev.
1 parent 7ee0251 commit ef50adf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

argparser.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ bool ArgParser::parseArgs(int argc, char *argv[]) {
320320
javaOptions.push_back("-XX:+TieredCompilation");
321321
javaOptions.push_back("-XX:TieredStopAtLevel=1");
322322
javaOptions.push_back("-Djruby.compile.mode=OFF");
323+
javaOptions.push_back("-Djruby.compile.invokedynamic=false");
323324
progArgs.push_back(*it); // allow JRuby to process it too
324325
} else if (it->compare(ARG_NAME_SAMPLE) == 0) {
325326
javaOptions.push_back("-Xprof");

0 commit comments

Comments
 (0)