Граф коммитов

67142 Коммитов

Автор SHA1 Сообщение Дата
Nobuyoshi Nakada a9977ba2f9 Constified addr2line.c 2021-08-14 11:34:31 +09:00
Takashi Kokubun 963f2e01e7
Reduce the amount of false positive notifications 2021-08-13 10:26:12 -07:00
Benoit Daloze e57a1cc20c ruby/spec no longer needs webrick to run 2021-08-13 18:15:02 +02:00
Takashi Kokubun ee362302c0
Revert "Pause an MJIT worker when JIT is cancelled"
This reverts commit b64f81c817.

It seems to cause a problem in --jit / --jit-wait CIs. Reverting for now.
2021-08-13 09:13:09 -07:00
git 15c9c7845d * 2021-08-14 [ci skip] 2021-08-14 01:10:00 +09:00
Benoit Daloze 73085c8d8e Update to ruby/spec@330c641 2021-08-13 18:09:14 +02:00
Takashi Kokubun ac4d53bd46
Don't cancel JIT-ed code on TracePoint :class
events get enabled
2021-08-12 23:26:44 -07:00
Takashi Kokubun 365da4c6ac
Don't run mjit_cancel_all when MJIT is disabled 2021-08-12 23:19:59 -07:00
Takashi Kokubun b64f81c817
Pause an MJIT worker when JIT is cancelled 2021-08-12 23:15:34 -07:00
Takashi Kokubun b3f8c491ef
Print JIT cancel when all JIT-ed code is cancelled 2021-08-12 23:11:38 -07:00
git 1a16940291 * 2021-08-13 [ci skip] 2021-08-13 14:51:56 +09:00
Nobuyoshi Nakada 611da9faef
Mark `rb_unexpected_type` as "cold" [Bug #18062]
So that it will not interfere the fast path in `Check_Type`.
2021-08-13 13:29:15 +09:00
Nobuyoshi Nakada 573eef7c89
Indicate the slow path of `Check_Type` never return [Bug #18062]
Though this call to `rb_check_type` is just to raise an exception
and never return actually, it can return at least formally.  That
means a caller function looks like it will access `flags` even in
the special-const cases, and some optimizers may unify the access
with the same access just following the call, and re-order it
before the guard.
2021-08-13 13:29:15 +09:00
aycabta 5534698b84 [ruby/reline] Version 0.2.7
https://github.com/ruby/reline/commit/040d29b4c0
2021-08-12 19:55:17 +09:00
aycabta f9abcfb6fc [ruby/irb] Version 1.3.7
https://github.com/ruby/irb/commit/98610236ec
2021-08-12 19:53:10 +09:00
aycabta 53743a42c4 [ruby/irb] Update dependency, reline >= 0.2.7
https://github.com/ruby/irb/commit/5a0c8dc9e6
2021-08-12 19:53:04 +09:00
aycabta 5196b171d9 Revert "Try to run test_interrupt_in_other_thread with Editline"
This reverts commit c66b27efbb.
2021-08-12 19:47:41 +09:00
aycabta c66b27efbb Try to run test_interrupt_in_other_thread with Editline 2021-08-12 15:35:05 +09:00
Nobuyoshi Nakada 7ac440910c
Separate jobs conditions 2021-08-12 13:46:31 +09:00
卜部昌平 1cdc75104d RBIMPL_ATTR_DEPRECATED: enable for GCC 10.3+
They fixed the bug.
2021-08-12 11:29:08 +09:00
git e1fe209dd8 * 2021-08-12 [ci skip] 2021-08-12 08:47:53 +09:00
aycabta e5f6cd7045 Outer block is required to rescue Timeout::Error 2021-08-12 07:52:39 +09:00
Peter Zhu 79cc566ab4 Make during_compacting flag in GC one bit
Commit c32218de1b turned during_compacting
flag to 2 bits to support the case when there is no write barrier. But
commit 32b7dcfb56 changed compaction to
always enable the write barrier. This commit cleans up some of the
leftover code.
2021-08-11 09:26:19 -04:00
aycabta c06b39d1d1 Add TODO comment to #test_interrupt_in_other_thread 2021-08-11 17:45:31 +09:00
aycabta c59da370a5 Add comments about testing steps 2021-08-11 14:08:45 +09:00
aycabta 4f324514aa Put the result of the process into a variable once
To make the meaning of assertion easier to understand,
2021-08-11 14:08:45 +09:00
aycabta 01e49af81d Stop exiting to show "SUCCESS" 2021-08-11 14:08:45 +09:00
aycabta 2217b82af1 Add logging about Errno::EPIPE 2021-08-11 14:08:45 +09:00
aycabta 7d84251500 Write log to stdout immediately 2021-08-11 14:08:45 +09:00
aycabta 67e06102a3 Stop checking char from "read"
Because it's sometimes nil due to race condition.
2021-08-11 14:08:45 +09:00
aycabta 7b10f55354 Break immediately if assertions finished 2021-08-11 14:08:45 +09:00
aycabta 7319b1fa2c Add "START" log 2021-08-11 14:08:45 +09:00
Jeremy Evans 84bf4d2ce5 Term fill in String#{,l,r}strip! even when SHARABLE_MIDDLE_SUBSTRING
Each of these methods calls str_modify_keep_cr before
term filling, which should ensure the backing string
uses private memory, and therefore term filling should
not affect other strings.

Skipping the term filling was added in
a707ab4bc8.

Fixes [Bug #12540]
2021-08-11 13:40:49 +09:00
Nobuyoshi Nakada a0a8f2abf5 Get rid of type-punning pointer casts [Bug #18062] 2021-08-11 12:07:44 +09:00
git 7560bf6f47 * 2021-08-11 [ci skip] 2021-08-11 10:54:56 +09:00
Nobuyoshi Nakada c3964a313e
Assert for duplicated ARGF [Bug #18074] 2021-08-10 23:40:45 +09:00
Nobuyoshi Nakada 7de7e9fdb7
Assert that each contents are read [Bug #18074] 2021-08-10 23:40:45 +09:00
Nobuyoshi Nakada 28d03ee776 Remove root_jmpbuf in rb_thread_struct
It has not been used since 1b82c877df.
2021-08-10 19:08:38 +09:00
Koichi Sasada 42b6dc84d3 add some lines to delete unused TracePoint
`TracePoint.stat` returns the "to be deleted" TP numbers, and
http://rubyci.s3.amazonaws.com/graviton2/ruby-master/log/20210810T030003Z.fail.html.gz
shows there is a "to be deleted" TP.

This patch uses only :line event and add some lines to allow MRI
deletes "to be deleted" TPs.
2021-08-10 15:47:52 +09:00
Nobuyoshi Nakada e3dcb6204d
Run only directories or *_spec.rb files only by mspec [Bug #18072]
Not to match *.c files under spec/ruby/optional/capi/ext, in the
case of in-place build.
2021-08-10 14:22:44 +09:00
Csaba Henk 8df1ace64a Fix ARGF.read(length) short read [Bug #18074] 2021-08-10 11:32:45 +09:00
卜部昌平 510c3655c9 .github/workflows/compilers.yml: clang-14
It seems LLVM-14 begun.

See also
08c766a731
2021-08-10 09:24:48 +09:00
Jun Aruga 6771316d51 .travis.yml: Check failures for Travis arm64 again.
It seems the concurrent jobs are stable recently on arm64 pipeline.
Keep allowing to fail on arm32 due to a failure.
2021-08-09 22:32:12 +02:00
aycabta cc1d88daba Add comment about I/O that is not tty 2021-08-10 02:52:56 +09:00
git 71c20c5609 * 2021-08-10 [ci skip] 2021-08-10 02:38:59 +09:00
aycabta b8f771fba2 Update parser files of RDoc generated by the latest Racc 2021-08-10 02:36:00 +09:00
aycabta 44635ebe9a Update parser files of RDoc generated by the latest KPeg 2021-08-10 02:36:00 +09:00
aycabta 6b439e9c4e [ruby/rdoc] Use HEAD of kpeg
I compared the results between the latest release of kpeg gem (1.1.0)
and HEAD of kpeg gem with `time` command, and the execution time is
reduced from 38.35s sec to 35.06 sec.

ref. https://github.com/evanphx/kpeg/pull/43

https://github.com/ruby/rdoc/commit/682bcb48ce
2021-08-10 02:36:00 +09:00
aycabta d082510429 [ruby/rdoc] Add "rake clean" task to erase generated parser files
https://github.com/ruby/rdoc/commit/4e3e635afa
2021-08-10 02:36:00 +09:00
aycabta b277a6d26d Import copied Rakefile from original RDoc repository 2021-08-10 02:36:00 +09:00