summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-17Do not export InitVM functionsNobuyoshi Nakada
2019-05-17Make COROUTINE_XMM_REGISTERS compile-time only tooNobuyoshi Nakada
2019-05-17Do not call memcpy if copying nothingNobuyoshi Nakada
c.f. * e7b18ca6d9b45b7e71694557b9fab8152c62c1ed * 34e1079aef81d108890fb167d7df69960e994ff5
2019-05-17skip tests for GC.compact to pass CI.Koichi Sasada
Now, GC.compact has issues which makes rubyci RED, so I skip this test and debug soon.
2019-05-17* 2019-05-17git
2019-05-17Test to disable ASCII-only optimizationNobuyoshi Nakada
Examples why ASCII-only optimization cannot apply multi-byte encodings which have 7-bit trailing bytes. Suggested by @duerst at https://github.com/ruby/ruby/pull/2187#issuecomment-492949218
2019-05-16leaked-globals: check if un-prefixed symbols leak externallyNobuyoshi Nakada
2019-05-16Remove unused symbolsNobuyoshi Nakada
2019-05-16Pack struct rb_strterm_heredoc_struct on 32-bit platformsNobuyoshi Nakada
2019-05-16don't need to sweep rest.Koichi Sasada
`transient_heap_evacuate()` disables GC using `rb_gc_disable()` to prohibt GC invocation because of new allocation for evacuated memory. However, `rb_gc_disable()` sweep all rest of unswept pages. We don't need to cancel lazy sweep so this patch introduce `rb_gc_disable_no_rest()` which doesn't cancel lazy sweep.
2019-05-16Make COROUTINE_REGISTERS compile-time only not to be a global symbolNobuyoshi Nakada
2019-05-16Prefix global_symbols with `ruby_`Nobuyoshi Nakada
2019-05-16Make internal functions staticNobuyoshi Nakada
2019-05-15Rename mjit_gc_finish_hook to mjit_gc_exit_hookTakashi Kokubun
because @ko1 said "gc_finish" is confusing like a finish of entire GC process
2019-05-16Fix fd leakNobuyoshi Nakada
merged https://github.com/rubygems/rubygems/pull/2765
2019-05-16* 2019-05-16git
2019-05-15Suppress unused-but-set-variable warningNobuyoshi Nakada
2019-05-15Fix the warning in 456586bb234915107da255d2944f620a7dd7048bNobuyoshi Nakada
2019-05-15unpin finalizers and update referencesAaron Patterson
2019-05-15Allow --enable/--disable options to take an argumentNobuyoshi Nakada
[Bug #15850]
2019-05-15Rename confuzed name Reline::IO with Reline::IOGateaycabta
2019-05-14Static symbols can't be moved (they are not RValue)Aaron Patterson
This is my mistake, I thought they were regular objects, but apparently they are not. We don't need to pin them. Revert "Symbols can move so only cache IDs" This reverts commit 672ee5f6ed5a6840a3be9150b6721a5ee8f8766b.
2019-05-14Symbols can move so only cache IDsAaron Patterson
IDs can't move, we need to use them to look up the symbol objects later.
2019-05-15* expand tabs.git
2019-05-14Add object packing strategies for compactionAaron Patterson
This commit adds an alternative packing strategy for compaction. Instead of packing towards "most pinned" pages, we can pack towards "most empty" pages. The idea is that we can double the heap size, then pack all objects towards the empty side of the heap. This will ensure maximum chaos for testing / verification.
2019-05-15* 2019-05-15git
2019-05-14Fixing function nameAaron Patterson
This function is used for marking / pinning vm stack values, so it should have "vm" in the function name to be more clear.
2019-05-14Remove useless use of a variable in Reline::ANSIaycabta
2019-05-14Rename Reline's test file name because of typoaycabta
2019-05-14Fix typo in debugged C source nameTakashi Kokubun
I failed to collect any debug info in https://app.wercker.com/ruby/ruby/runs/mjit-test1/5cda57fcab79a30008f195f6?step=5cda6a4e1090c4000800772e It seems that it's due to this typo.
2019-05-14Test ext/readline and lib/reline by test/readlineaycabta
2019-05-14Add an assertion message to test of Readline's class variablesaycabta
2019-05-14Check encoding when Readline completionaycabta
2019-05-14io/console: rb_str_cat_conv_enc_opts is not exportedNobuyoshi Nakada
2019-05-14io/console: fix up timeout on WindowsNobuyoshi Nakada
2019-05-14io/console: support getch timeout on WindowsNobuyoshi Nakada
2019-05-14io/console: support wide character input on WindowsNobuyoshi Nakada
2019-05-14Rescue CompatibilityError for Readline's completionaycabta
2019-05-14fix visibility of SecureRandom.gen_randomUrabe, Shyouhei
Aliasing a method preserves its visibility. These aliases turn formerly-public methods into private. Should make them public again. [Bug #15847]
2019-05-14Readline's class vars should be encoded as default_externalaycabta
2019-05-14Remove unused variable in LineEditoraycabta
2019-05-13Add NaN / Infinity / MinusInfinity to mark listAaron Patterson
This prevents the constants from moving.
2019-05-13turn T_MOVED in to a linked listAaron Patterson
2019-05-13Don't run the compactor if GC is disabledAaron Patterson
GC is required for pinning / marking objects. If the compactor runs without pinning everything, then it will blow up, so just return early if the GC is disabled.
2019-05-14* 2019-05-14git
2019-05-14Symbol just represents a nameNobuyoshi Nakada
2019-05-13Update dependenciesNobuyoshi Nakada
2019-05-13Update the canonical repository for racc.Hiroshi SHIBATA
2019-05-13Fix typosKazuhiro NISHIYAMA
2019-05-13delegate.rb: don't look for methods on KernelÉtienne Barrié
Instead, look for instance methods of Kernel. Otherwise, instance methods of Module (which are methods of Kernel itself) are mistakenly believed to exist, and it fails when calling Kernel.instance_method(). Closes: https://github.com/ruby/ruby/pull/1422