assets/src/org/ruboto/JRubyAdapter.java in ruboto-1.0.0 vs assets/src/org/ruboto/JRubyAdapter.java in ruboto-1.0.1
- old
+ new
@@ -130,20 +130,21 @@
// byte[] arrayForHeapAllocation = new byte[13 * 1024 * 1024];
// arrayForHeapAllocation = null;
// END Ruboto HeapAlloc
setDebugBuild(appContext);
Log.d("Setting up JRuby runtime (" + (isDebugBuild ? "DEBUG" : "RELEASE") + ")");
- System.setProperty("jruby.compile.mode", "OFF"); // OFF OFFIR JITIR? FORCE FORCEIR
- // System.setProperty("jruby.compile.backend", "DALVIK");
+ System.setProperty("jruby.backtrace.style", "normal"); // normal raw full mri
System.setProperty("jruby.bytecode.version", "1.6");
+ // System.setProperty("jruby.compat.version", "RUBY2_0"); // RUBY1_9 is the default in JRuby 1.7
+ // System.setProperty("jruby.compile.backend", "DALVIK");
+ System.setProperty("jruby.compile.mode", "OFF"); // OFF OFFIR JITIR? FORCE FORCEIR
System.setProperty("jruby.interfaces.useProxy", "true");
+ System.setProperty("jruby.ir.passes", "LocalOptimizationPass,DeadCodeElimination");
System.setProperty("jruby.management.enabled", "false");
+ System.setProperty("jruby.native.enabled", "false");
System.setProperty("jruby.objectspace.enabled", "false");
+ System.setProperty("jruby.rewrite.java.trace", "true");
System.setProperty("jruby.thread.pooling", "true");
- System.setProperty("jruby.native.enabled", "false");
- // System.setProperty("jruby.compat.version", "RUBY2_0"); // RUBY1_9 is the default in JRuby 1.7
- System.setProperty("jruby.ir.passes", "LocalOptimizationPass,DeadCodeElimination");
- System.setProperty("jruby.backtrace.style", "normal"); // normal raw full mri
// Uncomment these to debug/profile Ruby source loading
// System.setProperty("jruby.debug.loadService", "true");
// System.setProperty("jruby.debug.loadService.timing", "true");