summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-01Enable VM_ASSERT in --jit CIs (#4543)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2021-05-31Make --without-mjit-tabs work againTakashi Kokubun
vm_sync.{c,h} don't have tabs
2021-05-31Revert "Try enabling VM_ASSERT in --jit CIs"Takashi Kokubun
This reverts commit e9e3b65d836b5796882b5bf28717e4586366ceec. We were not ready for it https://github.com/ruby/ruby/runs/2715306375?check_suite_focus=true
2021-05-31Change the default --jit-max-cache to 10000Takashi Kokubun
This is useful for large applications like Rails. https://k0kubun.medium.com/ruby-3-jit-can-make-rails-faster-756310f235a
2021-05-31Decompose the captured_cc code for investigationTakashi Kokubun
I'm investigating SEGVs like https://github.com/ruby/ruby/runs/2715166621?check_suite_focus=true. Because a lot of things are going on on this line, it's hard to identify the cause, especially because we can't get the core file of the failures. Therefore I intentionally increased the number of lines for investigation.
2021-05-31Try enabling VM_ASSERT in --jit CIsTakashi Kokubun
2021-06-01* 2021-06-01 [ci skip]git
2021-05-31Drop JIT_ISEQ_SIZE_THRESHOLDTakashi Kokubun
Compiling everything seems to contributed to improving the final performance in general. MJIT's compilation is slow anyway, especially when you need to wait for JIT compaction. This might make sense for short-time benchmarks like Optcarrot with default parameters, but it didn't give benefits in my local environment.
2021-05-31The test for command injection on Unix platforms should be omitted on Windowsaycabta
2021-05-31tool/ci_functions.sh: Fix typos and improve the comment. [ci skip]Jun Aruga
Notes: Merged: https://github.com/ruby/ruby/pull/4541
2021-05-31Tweak skipped files in bundler gemspecDavid Rodríguez
We won't be using the `extra_rdoc_files` field, because it's very slow for markdown files. Notes: Merged: https://github.com/ruby/ruby/pull/4537
2021-05-31[ruby/net-protocol] Bump version to 0.1.1Hiroshi SHIBATA
https://github.com/ruby/net-protocol/commit/97c4b68528
2021-05-30Mark inlined ISeqs during MJIT compilation (#4539)Takashi Kokubun
[Bug #17584] Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2021-05-31* 2021-05-31 [ci skip]git
2021-05-31Update bundled_gemsKazuhiro NISHIYAMA
2021-05-29Attempt to fix floating point test failureJeremy Evans
The previous behavior depending on exact float values, it seemed to work OK on amd64 and i386, but other CI platforms are experiencing non-deterministic test failures with it. Relax test slightly to hopefully pass on such platforms.
2021-05-30* 2021-05-30 [ci skip]git
2021-05-29Fix Enumerator::ArithmeticSequence handling of float rangesJeremy Evans
Depending on the float range, there could be an off-by-one error, where the last result that should be in the range was missed. Fix this by checking if the computed value for the expected value outside the range is still inside the range, and if so, increment the step size. Fixes [Bug #16612] Notes: Merged: https://github.com/ruby/ruby/pull/4434
2021-05-29* 2021-05-29 [ci skip]git
2021-05-28compile.c: Emit send for === calls in when statementsAlan Wu
The checkmatch instruction with VM_CHECKMATCH_TYPE_CASE calls === without a call cache. Emit a send instruction to make the call instead. It includes a call cache. The call cache improves throughput of using when statements to check the class of a given object. This is useful for say, JSON serialization. Use of a regular send instead of checkmatch also avoids taking the VM lock every time, which is good for multi-ractor workloads. Calculating ------------------------------------- master post vm_case_classes 11.013M 16.172M i/s - 6.000M times in 0.544795s 0.371009s vm_case_lit 2.296 2.263 i/s - 1.000 times in 0.435606s 0.441826s vm_case 74.098M 64.338M i/s - 6.000M times in 0.080974s 0.093257s Comparison: vm_case_classes post: 16172114.4 i/s master: 11013316.9 i/s - 1.47x slower vm_case_lit master: 2.3 i/s post: 2.3 i/s - 1.01x slower vm_case master: 74097858.6 i/s post: 64338333.9 i/s - 1.15x slower The vm_case benchmark is a bit slower post patch, possibily due to the larger instruction sequence. The benchmark dispatches using opt_case_dispatch so was not running checkmatch and does not make the === call post patch. Notes: Merged: https://github.com/ruby/ruby/pull/4468
2021-05-28Make range literal peephole optimization target "newrange"Alan Wu
It looks for "checkmatch", when it could be applied to anything that has "newrange". Making the optimization target more ranges might only be fair play when all ranges are frozen. So I'm putting a reference to the ticket that froze all ranges. [Feature #15504] Notes: Merged: https://github.com/ruby/ruby/pull/4468
2021-05-28Resolve to missing `Gem::TestCase` issue with random order testsHiroshi SHIBATA
2021-05-28Ignore test-bundled-gems on GitHub Actions because matrix tests has unknown ↵Hiroshi SHIBATA
issues
2021-05-28[rubygems/rubygems] Use pend instead of skipHiroshi SHIBATA
2021-05-28[rubygems/rubygems] Fix "instance variable not initialized" warningDavid Rodríguez
This variable had a typo (it's `@gemhome`), but the test is still passing, so I assume it's not needed. https://github.com/rubygems/rubygems/commit/3b88642bdb
2021-05-28[rubygems/rubygems] Test installing a non deprecated fileDavid Rodríguez
https://github.com/rubygems/rubygems/commit/a678959eda
2021-05-28[rubygems/rubygems] Remove no longer needed `RUBYGEMS_TEST_PATH` env variableDavid Rodríguez
https://github.com/rubygems/rubygems/commit/0efb894c3b
2021-05-28[rubygems/rubygems] Remove no longer relevant commentsºDavid Rodríguez
https://github.com/rubygems/rubygems/commit/8dfe1e30b5
2021-05-28[rubygems/rubygems] Require the new files in `test/` relativelyDavid Rodríguez
https://github.com/rubygems/rubygems/commit/c77868a555
2021-05-28[rubygems/rubygems] Copy files specific to testing rubygems to `test`David Rodríguez
https://github.com/rubygems/rubygems/commit/aa390a3500
2021-05-28[rubygems/rubygems] Try fix ruby-core CIHiroshi SHIBATA
* Port https://github.com/ruby/ruby/commit/8e91b969df08b7a2eb27a5d6d38733eea42dc7ad from ruby-core, and make it compatible with psych 3 & 4.
2021-05-28Use require_relative to use Minitest library for testing.Hiroshi SHIBATA
There is no reason to care for minitest gem.
2021-05-28* 2021-05-28 [ci skip]git
2021-05-27Fix lazy enumerator with index sizeJeremy Evans
Fixes [Bug #17889] Notes: Merged: https://github.com/ruby/ruby/pull/4534
2021-05-27Fixed target directory when copying from upstreamHiroshi SHIBATA
2021-05-27Removed dbm from sync_default_gemsHiroshi SHIBATA
2021-05-27Update rbs-1.2.1Hiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4530
2021-05-27Guard ruby/spec with spec/mspec/tool/wrap_with_guard.rbHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4530
2021-05-27Guard for the ftp protocol feature of OpenURIHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4530
2021-05-27Defer to require prime for OpenSSL::TestBNHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4530
2021-05-27Use https://github.com/ruby/rbs/pull/679 for rbs tests on test-bundled-gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4530
2021-05-27Promote net-smtp to the bundled gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4530
2021-05-27Promote net-pop to the bundled gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4530
2021-05-27Promote net-imap to the bundled gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4530
2021-05-27Promote net-ftp to the bundled gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4530
2021-05-27Promote matrix to the bundled gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4530
2021-05-27Promote prime to the bundled gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4530
2021-05-27* 2021-05-27 [ci skip]git
2021-05-26Fill out switch statement in push_mark_stackAaron Patterson
When objects are popped from the mark stack, we check that the object is the right type (otherwise an rb_bug happens). The problem is that when we pop a bad object from the stack, we have no idea what pushed the bad object on the stack. This change makes an error happen when a bad object is pushed on the mark stack, that way we can track down the source of the bug. Notes: Merged: https://github.com/ruby/ruby/pull/4531
2021-05-26.travis.yml: Remove skipped tests on ppc64le.Jun Aruga
It was fixed at fc832ffbfaf581ff63ef40dc3f4ec5c8ff39aae6 . Notes: Merged: https://github.com/ruby/ruby/pull/4529