-
-
Notifications
You must be signed in to change notification settings - Fork 925
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into truffle-head
Conflicts: core/src/main/java/org/jruby/util/cli/Options.java truffle/src/main/java/org/jruby/truffle/runtime/RubyContext.java
- 9.4.12.0
- 9.4.11.0
- 9.4.10.0
- 9.4.9.0
- 9.4.8.0
- 9.4.7.0
- 9.4.6.0
- 9.4.5.0
- 9.4.4.0
- 9.4.3.0
- 9.4.2.0
- 9.4.1.0
- 9.4.0.0
- 9.3.15.0
- 9.3.14.0
- 9.3.13.0
- 9.3.12.0
- 9.3.11.0
- 9.3.10.0
- 9.3.9.0
- 9.3.8.0
- 9.3.7.0
- 9.3.6.0
- 9.3.5.0
- 9.3.4.0
- 9.3.3.0
- 9.3.2.0
- 9.3.1.0
- 9.3.0.0
- 9.2.21.0
- 9.2.20.1
- 9.2.20.0
- 9.2.19.0
- 9.2.18.0
- 9.2.17.0
- 9.2.16.0
- 9.2.15.0
- 9.2.14.0
- 9.2.13.0
- 9.2.12.0
- 9.2.11.1
- 9.2.11.0
- 9.2.10.0
- 9.2.9.0
- 9.2.8.0
- 9.2.7.0
- 9.2.6.0
- 9.2.5.0
- 9.2.4.1
- 9.2.4.0
- 9.2.3.0
- 9.2.2.0
- 9.2.1.0
- 9.2.0.0
- 9.1.17.0
- 9.1.16.0
- 9.1.15.0
- 9.1.14.0
- 9.1.13.0
- 9.1.12.0
- 9.1.11.0
- 9.1.10.0
- 9.1.9.0
- 9.1.8.0
- 9.1.7.0
- 9.1.6.0
- 9.1.5.0
- 9.1.4.0
- 9.1.3.0
- 9.1.2.0
- 9.1.1.0
- 9.1.0.0
- 9.0.5.0
Showing
38 changed files
with
630 additions
and
308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env ruby | ||
|
||
require_relative '../lib/jruby+truffle_runner.rb' | ||
JRubyTruffleRunner.new |
29 changes: 29 additions & 0 deletions
29
tool/truffle/jruby_truffle_runner/gem_configurations/activesupport.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
:global: | ||
# default ../jruby/bin/ruby won't work since activesupport is one more dir deeper | ||
:jruby_truffle_path: '../../jruby/bin/jruby' | ||
:graal_path: '../../graalvm-jdk1.8.0/bin/java' | ||
:setup: | ||
:file: | ||
shims.rb: | | ||
require 'minitest' | ||
# mock diff, it calls not fully supported Kernel#system | ||
module Minitest | ||
module Assertions | ||
def self.diff | ||
nil | ||
end | ||
end | ||
end | ||
# mock load_plugins as it loads rubygems | ||
def Minitest.load_plugins | ||
end | ||
bundler.rb: "module Bundler; def self.setup; end; end" | ||
# mock method_source gem | ||
method_source.rb: nil | ||
# do not let bundler to install db gem group | ||
:without: | ||
- db | ||
:run: | ||
:require: | ||
- shims |
4 changes: 4 additions & 0 deletions
4
tool/truffle/jruby_truffle_runner/gem_configurations/psd.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
:setup: | ||
:file: | ||
nokogiri.rb: nil |
17 changes: 17 additions & 0 deletions
17
tool/truffle/jruby_truffle_runner/jruby+truffle_runner.gemspec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Gem::Specification.new do |s| | ||
s.name = 'jruby+truffle_runner' | ||
s.version = '0.0.1' | ||
s.platform = Gem::Platform::RUBY | ||
s.authors = ['Petr Chalupa'] | ||
s.email = ['git@pitr.ch'] | ||
s.homepage = 'https://github.com/jruby/jruby' | ||
s.summary = 'Temporary JRuby+Truffle runner' | ||
s.description = 'Until JRuby+Truffle is more complete, allows to run apps/gems simply on JRuby+Truffle.' | ||
|
||
s.required_rubygems_version = '>= 1.3.6' | ||
|
||
s.files = Dir['{lib}/**/*.rb', 'bin/*', 'gem_configurations/*.yaml', 'LICENSE', '*.md'] | ||
s.require_path = 'lib' | ||
|
||
s.executables = ['jruby+truffle'] | ||
end |
308 changes: 308 additions & 0 deletions
308
tool/truffle/jruby_truffle_runner/lib/jruby+truffle_runner.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,308 @@ | ||
# Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved. This | ||
# code is released under a tri EPL/GPL/LGPL license. You can use it, | ||
# redistribute it and/or modify it under the terms of the: | ||
# | ||
# Eclipse Public License version 1.0 | ||
# GNU General Public License version 2 | ||
# GNU Lesser General Public License version 2.1 | ||
|
||
require 'optparse' | ||
require 'pp' | ||
require 'yaml' | ||
require 'fileutils' | ||
|
||
# TODO (pitr 01-Sep-2015): add pre stored run options combinations like -S irb, -I test | ||
|
||
class JRubyTruffleRunner | ||
attr_reader :options | ||
|
||
EXECUTABLE = 'jruby+truffle' | ||
LOCAL_CONFIG_FILE = '.jruby+truffle.yaml' | ||
|
||
begin | ||
assign_new_value = -> (new, old) { new } | ||
add_to_array = -> (new, old) { old << new } | ||
merge_hash = -> ((k, v), old) { old.merge k => v } | ||
|
||
# Format: | ||
# subcommand_name: { | ||
# :'option_name (also used as a key in yaml)' => [option_parser_on_method_args, | ||
# -> (new_value, old_value) { result_of_this_block_is_stored }, | ||
# default_value] | ||
# } | ||
OPTION_DEFINITIONS = { | ||
global: { | ||
verbose: ['-v', '--verbose', 'Run verbosely (prints options)', assign_new_value, false], | ||
help: ['-h', '--help', 'Show this message', assign_new_value, false], | ||
debug_port: ['--debug-port PORT', 'Debug port', assign_new_value, '51819'], | ||
debug_option: ['--debug-option OPTION', 'Debug JVM option', assign_new_value, | ||
'-J-agentlib:jdwp=transport=dt_socket,server=y,address=%d,suspend=y'], | ||
truffle_bundle_path: ['--truffle-bundle-path NAME', 'Bundle path', assign_new_value, 'jruby+truffle_bundle'], | ||
jruby_truffle_path: ['--jruby-truffle-path PATH', 'Path to JRuby+Truffle bin/jruby', assign_new_value, | ||
'../jruby/bin/jruby'], | ||
graal_path: ['--graal-path PATH', 'Path to Graal', assign_new_value, '../graalvm-jdk1.8.0/bin/java'], | ||
mock_load_path: ['--mock-load-path PATH', 'Root path for all mocks/monkey-patches which is prepended in $:', | ||
assign_new_value, 'mocks'] | ||
}, | ||
setup: { | ||
help: ['-h', '--help', 'Show this message', assign_new_value, false], | ||
after: ['--after SH_CMD', 'Commands to execute after setup', add_to_array, []], | ||
file: ['--file NAME,CONTENT', Array, 'Create file in truffle_bundle_path', merge_hash, {}], | ||
without: ['--without GROUP', 'Do not install listed gem group by bundler', add_to_array, []] | ||
}, | ||
run: { | ||
help: ['-h', '--help', 'Show this message', assign_new_value, false], | ||
test: ['-t', '--test', 'Do not use Truffle use plain JRuby', assign_new_value, false], | ||
graal: ['-g', '--graal', 'Run on graal', assign_new_value, false], | ||
debug: ['-d', '--debug', 'JVM remote debugging', assign_new_value, false], | ||
require: ['-r', '--require FILE', 'Files to require, same as Ruby\'s -r', add_to_array, []], | ||
load_path: ['-I', '--load-path LOAD_PATH', 'Paths to add to load path, same as Ruby\'s -I', add_to_array, []], | ||
# TODO (pitr 01-Sep-2015): add option for prepended load paths to be able to replace ugly echo in the yaml file | ||
jexception: ['--jexception', 'print Java exceptions', assign_new_value, false] | ||
}, | ||
clean: { | ||
help: ['-h', '--help', 'Show this message', assign_new_value, false] | ||
} | ||
} | ||
end | ||
|
||
begin | ||
global_help = <<-TXT.gsub(/^ {6}/, '') | ||
Usage: #{EXECUTABLE} [options] [subcommand [subcommand-options]] | ||
Subcommands are: #{(OPTION_DEFINITIONS.keys - [:global]).map(&:to_s).join(', ')} | ||
Allows to execute gem/app on JRuby+Truffle until it's more complete. Environment | ||
has to be set up first with setup subcommand then run subcommand can be used. | ||
Options can be set on commandline or in local directory in #{LOCAL_CONFIG_FILE} file. | ||
Tha data in yaml file follow same structure as OPTION_DEFINITIONS what, its values | ||
are deep-merged with default values, then command-line options are applied. | ||
This tool contains default configurations for gems in gem_configurations directory. | ||
They are copied when there is no configuration present. | ||
TXT | ||
|
||
setup_help = <<-TXT.gsub(/^ {6}/, '') | ||
Usage: #{EXECUTABLE} [options] setup [subcommand-options] | ||
Creates environment for running gem/app on JRuby+Truflle. | ||
TXT | ||
|
||
run_help = <<-TXT.gsub(/^ {6}/, '') | ||
Usage: #{EXECUTABLE} [options] run [subcommand-options] -- [ruby-options] | ||
Runs file, -e expr, etc in setup environment on JRuby+Truffle | ||
Examples: #{EXECUTABLE} run -- a_file.rb | ||
#{EXECUTABLE} run -- -S irb | ||
#{EXECUTABLE} run -- -e 'puts :v' | ||
#{EXECUTABLE} --verbose run -- -Itest test/a_test_file_test.rb | ||
TXT | ||
|
||
clean_help = <<-TXT.gsub(/^ {6}/, '') | ||
Usage: #{EXECUTABLE} [options] clean [subcommand-options] | ||
Deletes all files created by setup subcommand. | ||
TXT | ||
|
||
HELP = { global: global_help, setup: setup_help, run: run_help, clean: clean_help } | ||
end | ||
|
||
|
||
def initialize(argv = ARGV) | ||
construct_default_options | ||
load_local_yaml_configuration | ||
build_option_parsers | ||
|
||
subcommand, *argv_after_global = @option_parsers[:global].order argv | ||
|
||
if subcommand.nil? | ||
print_options | ||
help | ||
end | ||
|
||
subcommand = subcommand.to_sym | ||
|
||
subcommand_option_parser = @option_parsers[subcommand] || raise("unknown subcommand: #{subcommand}") | ||
argv_after_subcommand = subcommand_option_parser.order argv_after_global | ||
|
||
print_options | ||
help subcommand if @options[subcommand][:help] | ||
|
||
send "subcommand_#{subcommand}", argv_after_subcommand | ||
end | ||
|
||
def print_options | ||
if verbose? | ||
puts 'Options:' | ||
pp @options | ||
end | ||
end | ||
|
||
private | ||
|
||
def verbose? | ||
@options[:global][:verbose] | ||
end | ||
|
||
def build_option_parsers | ||
@option_parsers = OPTION_DEFINITIONS.each_with_object({}) do |(group, group_options), parsers| | ||
parsers[group] = OptionParser.new do |option_parser| | ||
group_options.each do |option, data| | ||
*args, description, block, default = data | ||
|
||
option_parser.on(*args, description + " (default: #{default.inspect})") do |new_value| | ||
old_value = @options[group][option] | ||
@options[group][option] = block.call new_value, old_value | ||
end | ||
end | ||
end | ||
end | ||
|
||
@option_parsers.each { |key, option_parser| option_parser.banner = HELP[key] } | ||
end | ||
|
||
def load_local_yaml_configuration | ||
yaml_path = File.join Dir.pwd, LOCAL_CONFIG_FILE | ||
|
||
unless File.exist? yaml_path | ||
candidates = Dir['*.gemspec'] | ||
if candidates.size == 1 | ||
gem_name, _ = candidates.first.split('.') | ||
|
||
default_configuration_file_path = File.dirname(__FILE__) + "/../gem_configurations/#{gem_name}.yaml" | ||
if File.exist?(default_configuration_file_path) | ||
puts "Copying default #{LOCAL_CONFIG_FILE} for #{gem_name}." | ||
FileUtils.cp default_configuration_file_path, LOCAL_CONFIG_FILE | ||
end | ||
end | ||
end | ||
|
||
yaml_data = YAML.load_file(yaml_path) if File.exist?(yaml_path) | ||
@options = deep_merge @options, yaml_data | ||
end | ||
|
||
def construct_default_options | ||
@options = OPTION_DEFINITIONS.each_with_object({}) do |(group, group_options), options| | ||
group_options.each_with_object(options[group] = {}) do |(option, data), group_option_defaults| | ||
*args, block, default = data | ||
group_option_defaults[option] = default | ||
end | ||
end | ||
end | ||
|
||
def help(key = nil) | ||
parsers = if key | ||
[@option_parsers[key]] | ||
else | ||
@option_parsers.values | ||
end | ||
puts *parsers | ||
exit | ||
end | ||
|
||
def deep_merge(a, b) | ||
if Hash === a | ||
if Hash === b | ||
return a.merge(b) { |k, ov, nv| deep_merge ov, nv } | ||
else | ||
return a | ||
end | ||
end | ||
|
||
if Array === a | ||
if Array === b | ||
return a + b.map { |v| eval_yaml_strings v } | ||
else | ||
return a | ||
end | ||
end | ||
|
||
eval_yaml_strings b | ||
end | ||
|
||
def eval_yaml_strings(value) | ||
if String === value | ||
begin | ||
eval('"' + value.gsub(/\\#|"|\\/, '\#' => '\#', '"' => '\"', '\\' => '\\\\') + '"') | ||
rescue => e | ||
p value | ||
raise e | ||
end | ||
else | ||
value | ||
end | ||
end | ||
|
||
def subcommand_setup(rest) | ||
bundle_path = File.expand_path @options[:global][:truffle_bundle_path] | ||
bundle_installed = execute_cmd 'command -v bundle 2>/dev/null', fail: false | ||
|
||
execute_cmd 'gem install bundler' unless bundle_installed | ||
|
||
execute_cmd ['bundle install --standalone', | ||
"--path #{bundle_path}", | ||
("--without #{@options[:setup][:without].join(' ')}" unless @options[:setup][:without].empty?) | ||
].join(' ') | ||
|
||
link_path = "#{bundle_path}/jruby+truffle" | ||
FileUtils.rm link_path if File.exist? link_path | ||
execute_cmd "ln -s #{bundle_path}/#{RUBY_ENGINE} #{link_path}" | ||
|
||
mock_path = "#{bundle_path}/#{@options[:global][:mock_load_path]}" | ||
FileUtils.mkpath mock_path | ||
|
||
@options[:setup][:file].each do |name, content| | ||
puts "creating file: #{mock_path}/#{name}" if verbose? | ||
File.write "#{mock_path}/#{name}", content | ||
end | ||
|
||
File.open("#{bundle_path}/bundler/setup.rb", 'a') do |f| | ||
f.write %[$:.unshift "\#{path}/../#{@options[:global][:mock_load_path]}"] | ||
end | ||
|
||
@options[:setup][:after].each do |cmd| | ||
execute_cmd cmd | ||
end | ||
end | ||
|
||
def subcommand_run(rest) | ||
cmd_options = [ | ||
('-X+T' unless @options[:run][:test]), | ||
(format(@options[:global][:debug_option], @options[:global][:debug_port]) if @options[:run][:debug]), | ||
('-Xtruffle.exceptions.print_java=true' if @options[:run][:jexception]), | ||
"-r ./#{@options[:global][:truffle_bundle_path]}/bundler/setup.rb", | ||
*@options[:run][:load_path].map { |v| '-I ' + v }, | ||
*@options[:run][:require].map { |v| '-r ' + v } | ||
].compact.join(' ') | ||
|
||
cmd = [("JAVACMD=#{@options[:global][:graal_path]}" if @options[:run][:graal]), | ||
@options[:global][:jruby_truffle_path], | ||
cmd_options, | ||
*rest | ||
].compact.join(' ') | ||
|
||
exit execute_cmd(cmd, fail: false, print_always: true) | ||
end | ||
|
||
def subcommand_clean(rest) | ||
FileUtils.rm_rf @options[:global][:truffle_bundle_path] | ||
end | ||
|
||
def print_cmd(cmd, print_always) | ||
puts '$ ' + cmd if verbose? || print_always | ||
cmd | ||
end | ||
|
||
def execute_cmd(cmd, fail: true, print_always: false) | ||
result = system(print_cmd(cmd, print_always)) | ||
ensure | ||
raise 'command failed' if fail && !result | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
152 changes: 62 additions & 90 deletions
152
truffle/src/main/java/org/jruby/truffle/nodes/core/hash/HashNodes.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
truffle/src/main/java/org/jruby/truffle/runtime/Options.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* | ||
* Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved. This | ||
* code is released under a tri EPL/GPL/LGPL license. You can use it, | ||
* redistribute it and/or modify it under the terms of the: | ||
* | ||
* Eclipse Public License version 1.0 | ||
* GNU General Public License version 2 | ||
* GNU Lesser General Public License version 2.1 | ||
*/ | ||
package org.jruby.truffle.runtime; | ||
|
||
public class Options { | ||
|
||
public final String CORE_LOAD_PATH = org.jruby.util.cli.Options.TRUFFLE_CORE_LOAD_PATH.load(); | ||
|
||
public final int DISPATCH_POLYMORPHIC_MAX = org.jruby.util.cli.Options.TRUFFLE_DISPATCH_POLYMORPHIC_MAX.load(); | ||
public final int ARRAYS_UNINITIALIZED_SIZE = org.jruby.util.cli.Options.TRUFFLE_ARRAYS_UNINITIALIZED_SIZE.load(); | ||
public final int ARRAYS_SMALL = org.jruby.util.cli.Options.TRUFFLE_ARRAYS_SMALL.load(); | ||
public final int HASH_PACKED_ARRAY_MAX = org.jruby.util.cli.Options.TRUFFLE_HASH_PACKED_ARRAY_MAX.load(); | ||
|
||
public final int INSTRUMENTATION_SERVER_PORT = org.jruby.util.cli.Options.TRUFFLE_INSTRUMENTATION_SERVER_PORT.load(); | ||
public final boolean EXCEPTIONS_PRINT_JAVA = org.jruby.util.cli.Options.TRUFFLE_EXCEPTIONS_PRINT_JAVA.load(); | ||
public final boolean EXCEPTIONS_PRINT_UNCAUGHT_JAVA = org.jruby.util.cli.Options.TRUFFLE_EXCEPTIONS_PRINT_UNCAUGHT_JAVA.load(); | ||
public final boolean COVERAGE = org.jruby.util.cli.Options.TRUFFLE_COVERAGE.load(); | ||
|
||
public final boolean BACKTRACES_HIDE_CORE_FILES = org.jruby.util.cli.Options.TRUFFLE_BACKTRACES_HIDE_CORE_FILES.load(); | ||
|
||
public final boolean INLINER_ALWAYS_CLONE_YIELD = org.jruby.util.cli.Options.TRUFFLE_INLINER_ALWAYS_CLONE_YIELD.load(); | ||
public final boolean INLINER_ALWAYS_INLINE_YIELD = org.jruby.util.cli.Options.TRUFFLE_INLINER_ALWAYS_INLINE_YIELD.load(); | ||
public final boolean DISPATCH_METAPROGRAMMING_ALWAYS_UNCACHED = org.jruby.util.cli.Options.TRUFFLE_DISPATCH_METAPROGRAMMING_ALWAYS_UNCACHED.load(); | ||
public final boolean DISPATCH_METAPROGRAMMING_ALWAYS_INDIRECT = org.jruby.util.cli.Options.TRUFFLE_DISPATCH_METAPROGRAMMING_ALWAYS_INDIRECT.load(); | ||
public final boolean DISPATCH_METHODMISSING_ALWAYS_CLONED = org.jruby.util.cli.Options.TRUFFLE_DISPATCH_METHODMISSING_ALWAYS_CLONED.load(); | ||
public final boolean DISPATCH_METHODMISSING_ALWAYS_INLINED = org.jruby.util.cli.Options.TRUFFLE_DISPATCH_METHODMISSING_ALWAYS_INLINED.load(); | ||
|
||
public final int PACK_UNROLL_LIMIT = org.jruby.util.cli.Options.TRUFFLE_PACK_UNROLL_LIMIT.load(); | ||
|
||
public final boolean INCLUDE_CORE_FILE_CALLERS_IN_SET_TRACE_FUNC = org.jruby.util.cli.Options.TRUFFLE_INCLUDE_CORE_FILE_CALLERS_IN_SET_TRACE_FUNC.load(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters