-
Notifications
You must be signed in to change notification settings - Fork 32
/
.jrubyr_c
433 lines (320 loc) · 13.4 KB
/
.jrubyr_c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
################################################################################
# compiler settings
################################################################################
# Set compilation mode. JIT = at runtime; FORCE = before execution.
# Options: [JIT, FORCE, OFF, OFFIR], Default: JIT.
# compile.mode=JIT
compile.mode=FORCE
# Dump to console all bytecode generated at runtime.
# Options: [true, false], Default: false.
compile.dump=false
# (EXPERIMENTAL) Turn on compilation without polling for "unsafe" thread events.
# Options: [true, false], Default: false.
compile.threadless=false
# Turn on fast operators for Fixnum and Float.
# Options: [true, false], Default: true.
compile.fastops=true
# Set the number of lines at which compiled bodies are "chained".
# Options: [Integer], Default: 500.
compile.chainsize=500
# Generate method bindings (handles) for compiled methods lazily.
# Options: [true, false], Default: false.
compile.lazyHandles=false
# Enable or disable peephole optimizations.
# Options: [true, false], Default: true.
compile.peephole=true
# Compile calls without guards, for experimentation.
# Options: [true, false], Default: false.
compile.noguards=false
# Compile with all "mostly harmless" compiler optimizations.
# Options: [true, false], Default: false.
compile.fastest=true
# Compile obj.__send__(<literal>, ...) as obj.<literal>(...).
# Options: [true, false], Default: false.
compile.fastsend=false
# Return true from multiple assignment instead of a new array.
# Options: [true, false], Default: false.
compile.fastMasgn=false
# Use invokedynamic for optimizing Ruby code
# Options: [true, false], Default: false.
# compile.invokedynamic=false
compile.invokedynamic=true
################################################################################
# invokedynamic settings
################################################################################
# Maximum call site failures after which to inline cache.
# Options: [Integer], Default: 1000.
invokedynamic.maxfail=1000
# Maximum polymorphism of PIC binding.
# Options: [Integer], Default: 2.
invokedynamic.maxpoly=2
# Log binding of invokedynamic call sites.
# Options: [true, false], Default: false.
invokedynamic.log.binding=false
# Log invokedynamic-based constant lookups.
# Options: [true, false], Default: false.
invokedynamic.log.constants=false
# Enable all possible uses of invokedynamic.
# Options: [true, false], Default: false.
invokedynamic.all=true
# Enable all safe (but maybe not fast) uses of invokedynamic.
# Options: [true, false], Default: false.
invokedynamic.safe=false
# Enable invokedynamic for method invocations.
# Options: [true, false], Default: true.
invokedynamic.invocation=true
# Use SwitchPoint for class modification guards on invocations.
# Options: [true, false], Default: true.
# invokedynamic.invocation.switchpoint=true
# Also bind indirect method invokers to invokedynamic.
# Options: [true, false], Default: true.
invokedynamic.invocation.indirect=true
# Bind Ruby to Java invocations with invokedynamic.
# Options: [true, false], Default: true.
invokedynamic.invocation.java=true
# Bind Ruby attribue invocations directly to invokedynamic.
# Options: [true, false], Default: true.
invokedynamic.invocation.attr=true
# Bind Fixnum and Float math using optimized logic.
# Options: [true, false], Default: true.
invokedynamic.invocation.fastops=true
# Use invokedynamic to load cached values like literals and constants.
# Options: [true, false], Default: true.
invokedynamic.cache=true
# Use invokedynamic to load constants.
# Options: [true, false], Default: true.
invokedynamic.cache.constants=true
# Use invokedynamic to load literals.
# Options: [true, false], Default: true.
invokedynamic.cache.literals=true
# Use invokedynamic to get/set instance variables.
# Options: [true, false], Default: true.
invokedynamic.cache.ivars=true
# Use ClassValue to store class-specific data.
# Options: [true, false], Default: false.
invokedynamic.class.values=false
# ################################################################################
# # jit settings
# ################################################################################
# # Set the JIT threshold to the specified method invocation count.
# # Options: [Integer], Default: 50.
jit.threshold=1
# # Set the max count of active methods eligible for JIT-compilation.
# # Options: [Integer], Default: 4096.
jit.max=16384
# # Set the maximum full-class byte size allowed for jitted methods.
# # Options: [Integer], Default: 30000.
# jit.maxsize=30000
# # Enable JIT logging (reports successful compilation).
# # Options: [true, false], Default: false.
# jit.logging=false
# # Enable verbose JIT logging (reports failed compilation).
# # Options: [true, false], Default: false.
# jit.logging.verbose=false
# # Enable stdout dumping of JITed bytecode.
# # Options: [true, false], Default: false.
# jit.dumping=false
# # Log a message every n methods JIT compiled.
# # Options: [Integer], Default: 0.
# jit.logEvery=0
# # Exclude methods from JIT. Comma delimited.
# # Options: [ClsOrMod, ClsOrMod::method_name, -::method_name], Default: none.
# jit.exclude=none
# # Cache jitted method in-memory bodies across runtimes and loads.
# # Options: [true, false], Default: true.
# jit.cache=true
# # Save jitted methods to <dir> as they're compiled, for future runs.
# # Options: [dir], Default: null.
# jit.codeCache=null
# # Log loading of JITed bytecode.
# # Options: [true, false], Default: false.
# jit.debug=false
# # Run the JIT compiler in a background thread.
# # Options: [true, false], Default: true.
# jit.background=true
# ################################################################################
# # intermediate representation settings
# ################################################################################
# # Debug generation of JRuby IR.
# # Options: [true, false], Default: false.
# ir.debug=false
# # [EXPT]: Profile IR code during interpretation.
# # Options: [true, false], Default: false.
# ir.profile=false
# # Debug compilation of JRuby IR.
# # Options: [true, false], Default: false.
# ir.compiler.debug=false
# # Specify comma delimeted list of passes to run.
# # Options: [String], Default: null.
# ir.passes=null
# # Specify comma delimeted list of passes to run after inlining a method.
# # Options: [String], Default: null.
# ir.inline_passes=null
# ################################################################################
# # native settings
# ################################################################################
# # Enable/disable native code, including POSIX features and C exts.
# # Options: [true, false], Default: true.
# native.enabled=true
# # Enable verbose logging of native extension loading.
# # Options: [true, false], Default: false.
# native.verbose=false
# # Enable or disable C extension support.
# # Options: [true, false], Default: false.
# cext.enabled=false
# # Dump bytecode-generated FFI stubs to console.
# # Options: [true, false], Default: false.
# ffi.compile.dump=false
# # Number of FFI invocations before generating a bytecode stub.
# # Options: [Integer], Default: 100.
# ffi.compile.threshold=100
# # Use invokedynamic to bind FFI invocations.
# # Options: [true, false], Default: false.
# ffi.compile.invokedynamic=false
# ################################################################################
# # thread pooling settings
# ################################################################################
# # Enable reuse of native threads via a thread pool.
# # Options: [true, false], Default: false.
# thread.pool.enabled=false
# # The minimum number of threads to keep alive in the pool.
# # Options: [Integer], Default: 0.
# thread.pool.min=0
# # The maximum number of threads to allow in the pool.
# # Options: [Integer], Default: 2147483647.
# thread.pool.max=2147483647
# # The maximum number of seconds to keep alive an idle thread.
# # Options: [Integer], Default: 60.
# thread.pool.ttl=60
################################################################################
# miscellaneous settings
################################################################################
# Specify the major Ruby version to be compatible with.
# Options: [1.8, 1.9, 2.0], Default: 1.9.
compat.version=2.0
# Enable or disable ObjectSpace.each_object.
# Options: [true, false], Default: false.
objectspace.enabled=false
# Enable or disable SipHash for String hash function.
# Options: [true, false], Default: false.
siphash.enabled=false
# Set in-process launching of e.g. system('ruby ...').
# Options: [true, false], Default: false.
launch.inproc=false
# Specify the major Java bytecode version.
# Options: [1.5, 1.6, 1.7], Default: 1.7.
bytecode.version=1.7
# Set whether JMX management is enabled.
# Options: [true, false], Default: false.
management.enabled=false
# Make non-local flow jumps generate backtraces.
# Options: [true, false], Default: false.
jump.backtrace=false
# Do not unwrap process streams (issue on some recent JVMs).
# Options: [true, false], Default: false.
process.noUnwrap=false
# Before instantiation, stand up a real Java class for ever Ruby class.
# Options: [true, false], Default: false.
reify.classes=false
# Log errors during reification (reify.classes=true).
# Options: [true, false], Default: false.
reify.logErrors=false
# Use reflection for binding methods, not generated bytecode.
# Options: [true, false], Default: false.
reflected.handles=false
# Enable colorized backtraces.
# Options: [true, false], Default: false.
backtrace.color=false
# Set the style of exception backtraces.
# Options: [normal, raw, full, mri], Default: normal.
backtrace.style=normal
# Mask .java lines in Ruby backtraces.
# Options: [true, false], Default: false.
backtrace.mask=false
# Set the signal used for dumping thread stacks.
# Options: [USR1, USR2, etc], Default: USR2.
thread.dump.signal=USR2
# Use native impls for parts of net/protocol.
# Options: [true, false], Default: false.
native.net.protocol=false
# Use JVM coroutines for Fiber.
# Options: [true, false], Default: false.
fiber.coroutines=false
# Use a single global lock for requires.
# Options: [true, false], Default: false.
global.require.lock=false
# Do a true process-obliterating native exec for Kernel#exec.
# Options: [true, false], Default: true.
native.exec=true
# ################################################################################
# # debugging and logging settings
# ################################################################################
# # Log require/load file searches.
# # Options: [true, false], Default: false.
# debug.loadService=false
# # Log require/load parse+evaluate times.
# # Options: [true, false], Default: false.
# debug.loadService.timing=false
# # Log externally-launched processes.
# # Options: [true, false], Default: false.
# debug.launch=false
# # Set whether full traces are enabled (c-call/c-return).
# # Options: [true, false], Default: false.
# debug.fullTrace=false
# # Print which script is executed by '-S' flag.
# # Options: [true, false], Default: false.
# debug.scriptResolution=false
# # disables JRuby impl script loads and prints parse exceptions
# # Options: [true, false], Default: false.
# debug.parser=false
# # Generate backtraces for heavily-used Errno exceptions (EAGAIN).
# # Options: [true, false], Default: false.
# errno.backtrace=false
# # Log every time an exception is constructed.
# # Options: [true, false], Default: false.
# log.exceptions=false
# # Log every time an exception backtrace is generated.
# # Options: [true, false], Default: false.
# log.backtraces=false
# # Log every time a Kernel#caller backtrace is generated.
# # Options: [true, false], Default: false.
# log.callers=false
# # Log every time a built-in warning backtrace is generated.
# # Options: [true, false], Default: false.
# log.warnings=false
# # Use specified class for logging.
# # Options: [class name], Default: org.jruby.util.log.JavaUtilLoggingLogger.
# logger.class=org.jruby.util.log.JavaUtilLoggingLogger
# ################################################################################
# # java integration settings
# ################################################################################
# # Try to set inaccessible Java methods to be accessible.
# # Options: [true, false], Default: true.
# ji.setAccessible=true
# # Log whether setAccessible is working.
# # Options: [true, false], Default: false.
# ji.logCanSetAccessible=false
# # Allow Capitalized Java pacakge names.
# # Options: [true, false], Default: false.
# ji.upper.case.package.name.allowed=false
# # Use java.lang.reflect.Proxy for interface impl.
# # Options: [true, false], Default: false.
# interfaces.useProxy=false
# # Use generated handles instead of reflection for calling Java.
# # Options: [true, false], Default: false.
# java.handles=false
# # Extend Java classes without using a proxy object.
# # Options: [true, false], Default: false.
# ji.newStyleExtension=false
# # Cache Java object wrappers between calls.
# # Options: [true, false], Default: true.
# ji.objectProxyCache=true
# # Allow external envs to replace JI proxy class factory
# # Options: [String], Default: null.
# ji.proxyClassFactory=null
# ################################################################################
# # profiling settings
# ################################################################################
# # Maximum number of methods to consider for profiling.
# # Options: [Integer], Default: 100000.
# profile.max.methods=100000