Project

General

Profile

Activity

From 11/05/2020 to 11/11/2020

11/11/2020

11:51 PM Feature #16786: Light-weight scheduler for improved concurrency.
I had a call with @ioquatix .
He doesn't like `Thread.current.fiber_scheduler=` (mixing too many things).
He says `Fi...
Eregon (Benoit Daloze)
10:32 PM Bug #17321 (Closed): Having a singleton class makes cloning imperfect

## Problem
---
Running the following reproduction script:
```ruby
class Foo
def self.foo; end
end
def re...
ufuk (Ufuk Kayserilioglu)
07:27 PM Feature #17267: Remove Win32API at Ruby 3.0
@hsbt Was it extracted to a gem?
BTW:
```
$ gem-codesearch "require.+Win32API" | wc -l
339
$ gem-codesearch -i...
Eregon (Benoit Daloze)
12:28 AM Feature #17267 (Closed): Remove Win32API at Ruby 3.0
hsbt (Hiroshi SHIBATA)
07:18 PM Bug #17310: Closed ractors should die
Eregon (Benoit Daloze) wrote in #note-7:
> Also, it seems a big issue if exceptions in Ractor are silently ignored.
...
Eregon (Benoit Daloze)
07:14 PM Bug #17310: Closed ractors should die
Also, it seems a big issue if exceptions in Ractor are silently ignored.
If we can't `Ractor.yield` the exception, t...
Eregon (Benoit Daloze)
07:12 PM Bug #17310: Closed ractors should die
I think (2) is a better solution.
A Ractor should always be able to send messages while it's alive.
Another thoug...
Eregon (Benoit Daloze)
09:11 AM Bug #17310 (Closed): Closed ractors should die
Applied in changeset commit:git|deed21bb08170431891b65fda26f4a3557c9ffd4.
----------
ignore yield_atexit if outgoing...
ko1 (Koichi Sasada)
07:29 AM Bug #17310: Closed ractors should die
At least, I merged (1) patch.
`Ractor#kill` is not acceptable to avoid non-deterministic behavior like introduced by...
ko1 (Koichi Sasada)
07:11 PM Feature #17316: On memoization
> What about allowing Kernel#instance_variable_set to take a block instead of the second argument, in which case the ... marcandre (Marc-Andre Lafortune)
06:36 PM Feature #17316: On memoization
marcandre (Marc-Andre Lafortune) wrote in #note-3:
> I just released a small gem to deal with memoization
Looks i...
sawa (Tsuyoshi Sawada)
05:55 PM Feature #17316: On memoization
Memoization is tricky, not just for `nil`/`false` values. What about freezing that object? What about calling `Ractor... marcandre (Marc-Andre Lafortune)
10:22 AM Feature #17316 (Open): On memoization
I have seen so many attempts to memoize a value in the form:
```ruby
@foo ||= some_heavy_calculation(...)
```
...
sawa (Tsuyoshi Sawada)
06:54 PM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
I talked this over with Eregon yesterday in the context of doing this work in TruffleRuby, and we came to the conclus... aardvark179 (Duncan MacGregor)
05:40 PM Bug #17320: Is 'make realclean' supposed to work?
Sorry, hit the enter. Prematurealy.
The DeveloperHowto [1] mentions `make realclean` to remove everything pregener...
vo.x (Vit Ondruch)
05:35 PM Bug #17320 (Closed): Is 'make realclean' supposed to work?
https://github.com/ruby/ruby/blob/fa3670e6e48a8553ad1f37bbfbd112911da497d1/common.mk#L649 vo.x (Vit Ondruch)
04:04 PM Feature #17315: Hash #transform
I didn't suggest anything, as I don't see a good name, and I don't see the appeal of this method:
- it can not be mo...
marcandre (Marc-Andre Lafortune)
09:54 AM Feature #17315: Hash #transform
marcandre (Marc-Andre Lafortune) wrote in #note-2:
> I'll reopen this, as you are asking for a mutating version of `t...
sawa (Tsuyoshi Sawada)
03:49 PM Misc #17319: Rename Random.urandom to os_random and document random data sources
[PR here](https://github.com/ruby/ruby/pull/3760) zofrex (James Sanderson)
03:47 PM Misc #17319 (Rejected): Rename Random.urandom to os_random and document random data sources
SecureRandom gets randomness from `Random.urandom`, which is a confusing name because `urandom` only uses /dev/urando... zofrex (James Sanderson)
03:23 PM Bug #17318 (Rejected): Raising float to the power of other issue
It is due to precedence of operators unary minus and `**`.
`x**y` calculates `(-0.4790529833050308)**0.99180327868...
mame (Yusuke Endoh)
12:34 PM Bug #17318: Raising float to the power of other issue
Formatting replaced the double * with a single * i put in the snippet above, please ignore deXterbed (Manoj Mishra)
12:31 PM Bug #17318 (Rejected): Raising float to the power of other issue
Raising a negative float to another float results in a complex number. Interestingly, doing the same thing without us... deXterbed (Manoj Mishra)
02:19 PM Feature #17314: Provide a way to declare visibility of attributes defined by attr* methods in a single expression
>> The idea behind private attribute methods (which I've seen used in a lot of codebases, and use myself) is uniformi... zverok (Victor Shepelev)
12:54 PM Feature #17314: Provide a way to declare visibility of attributes defined by attr* methods in a single expression
sawa (Tsuyoshi Sawada) wrote in #note-2:
> Private attribute methods defeat the purpose of attribute methods. If you ...
radarek (Radosław Bułat)
07:56 AM Feature #17314: Provide a way to declare visibility of attributes defined by attr* methods in a single expression
> Private attribute methods defeat the purpose of attribute methods. If you want to access them within the class, you... zverok (Victor Shepelev)
07:12 AM Feature #17314: Provide a way to declare visibility of attributes defined by attr* methods in a single expression
> Private attribute methods defeat the purpose of attribute methods
I should have mentioned it, but it is more use...
marcandre (Marc-Andre Lafortune)
07:04 AM Feature #17314: Provide a way to declare visibility of attributes defined by attr* methods in a single expression
Private attribute methods defeat the purpose of attribute methods. If you want to access them within the class, you c... sawa (Tsuyoshi Sawada)
02:17 PM Bug #17317: In 2.7.2, Hash#except doesn't seem to exist, but is in the documentation
Actually, situation with documentation sites is kind of weird now (to say the least).
* "Official" docs.ruby-lang....
zverok (Victor Shepelev)
02:11 PM Bug #17317: In 2.7.2, Hash#except doesn't seem to exist, but is in the documentation
Thanks, and apologies for raising this in the wrong place! I've emailed the site owner. Anonymous
01:01 PM Bug #17317: In 2.7.2, Hash#except doesn't seem to exist, but is in the documentation
If I recall correctly, we have received some issue reports about ruby-doc.org maybe because the site looks official t... mame (Yusuke Endoh)
12:53 PM Bug #17317 (Third Party's Issue): In 2.7.2, Hash#except doesn't seem to exist, but is in the documentation
Thanks for the report, but ruby-doc.org is a third-party project that the ruby-core team is not maintaining. Could yo... mame (Yusuke Endoh)
10:54 AM Bug #17317 (Third Party's Issue): In 2.7.2, Hash#except doesn't seem to exist, but is in the documentation
According to https://ruby-doc.org/core-2.7.2/Hash.html#method-i-except, Hash#except is available in 2.7.2, but it doe... Anonymous
09:11 AM Revision fa3670e6 (git): remove Ractor#close
close_incoming by antoher ractor means there is no other messages
will be sent to the ractor, so Ractor.receive will ...
ko1 (Koichi Sasada)
09:10 AM Revision deed21bb (git): ignore yield_atexit if outgoing port is closed
If outgoing_port is closed, Ractor.yield never successes.
[Bug #17310]
ko1 (Koichi Sasada)
06:49 AM Revision db31ace9 (git): Threads in a ractor will be killed with the ractor
If a terminating ractor has child threads, then kill all child
threads.
ko1 (Koichi Sasada)
06:49 AM Revision 1e8abe5d (git): introduce USE_VM_CLOCK for windows.
The timer function used on windows system set timer interrupt
flag of current main ractor's executing ec and thread c...
ko1 (Koichi Sasada)
12:52 AM Misc #17309: URI.escape being deprecated, yet there is no replacement
chucke (Tiago Cardoso) wrote in #note-5:
> I wonder why `uri` can't do the same. [punycode IDN domains are a standar...
shyouhei (Shyouhei Urabe)
12:29 AM Misc #17309: URI.escape being deprecated, yet there is no replacement
I may not be in position of the full details of the decision, and what is exactly the full of the deprecated URI.esca... chucke (Tiago Cardoso)
12:27 AM Revision dd07354f (git): Use Fiddle::Importer directly
hsbt (Hiroshi SHIBATA)
12:27 AM Revision 5081bd96 (git): Removed win32/resolv.rb for 32bit env
hsbt (Hiroshi SHIBATA)
12:27 AM Revision ff67aac1 (git): Removed win32api
hsbt (Hiroshi SHIBATA)

11/10/2020

10:48 PM Feature #17314: Provide a way to declare visibility of attributes defined by attr* methods in a single expression
I think this is a reasonable request that could be helpful. I've been tempted a few times to write this. marcandre (Marc-Andre Lafortune)
06:22 PM Feature #17314 (Closed): Provide a way to declare visibility of attributes defined by attr* methods in a single expression
**Description**
Many of us (me included) declare class attributes, even if they are private, on the top of class d...
radarek (Radosław Bułat)
09:26 PM Feature #17315 (Open): Hash #transform
I'll reopen this, as you are asking for a mutating version of `to_h`. marcandre (Marc-Andre Lafortune)
08:53 PM Feature #17315 (Closed): Hash #transform
You'll be happy to hear that this is exactly what `to_h` does already. marcandre (Marc-Andre Lafortune)
07:41 PM Feature #17315 (Open): Hash #transform
Add new methods to `transform` or `transform!` both the keys and the values of a hash.
#7793
```ruby
h = {'name...
dsisnero (Dominic Sisneros)
06:34 PM Bug #17310: Closed ractors should die
Option 1 seems easy.
I don't have enough experience to know if `Ractor#close_outgoing` could be useful or not. I a...
marcandre (Marc-Andre Lafortune)
08:12 AM Bug #17310: Closed ractors should die
Thank you.
Flow:
1. close outgoing port
2. exit the block and try to yield the result
3. outgoing port is closed
4...
ko1 (Koichi Sasada)
06:24 PM Revision 6ddde162 (git): * 2020-11-11 [ci skip]
git[bot]
06:24 PM Revision 4465099a (git): Fix some typos in NEWS.md.
Fabio Sangiovanni
02:06 PM Feature #17016: Enumerable#accumulate
parker (Parker Finch) wrote in #note-34:
> I still slightly lean toward the `#accumulate` option.
What about `#cu...
y.annikov (Yakov Annikov)
12:46 PM Bug #14157: You may have encountered a bug in the Ruby interpreter or extension libraries.
Hi Sir,
Here is the issue i found please let how will i resolve, I cant found anywhere
vinit1994 (vinit yadav)
12:35 PM Revision 0b19f334 (git): [ruby/racc] Bump version to 1.5.1
https://github.com/ruby/racc/commit/2cb3055a73 hsbt (Hiroshi SHIBATA)
12:21 PM Revision 4a03df45 (git): [ruby/racc] skip the failing test with JRuby
https://github.com/ruby/racc/commit/cf37713895 hsbt (Hiroshi SHIBATA)
12:20 PM Revision 5a19b492 (git): [ruby/racc] Use the Ruby license. Fix #134
https://github.com/ruby/racc/commit/7c881cd548 hsbt (Hiroshi SHIBATA)
08:56 AM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
I agree only a few people using statically linked ruby with extensions.
So another option is ignore unsupported plat...
ko1 (Koichi Sasada)
08:55 AM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
> Are there some platforms where dlsym() or equivalent is not available?
I didn't think it is a problem.
But it s...
ko1 (Koichi Sasada)
05:45 AM Revision 9728cb73 (git): Use fiddle (win32/importer) instead of Win32API
- ext/win32/lib/win32/sspi.rb: Use fiddle (win32/importer) instead of Win32API U.Nakamura
04:14 AM Revision 17e7a819 (git): Complex and Rational is embedded classes now
hsbt (Hiroshi SHIBATA)
03:02 AM Bug #16809: Fiber crashes with --with-coroutine=copy
I think we found the root cause of this, and it should be addressed by:
https://github.com/ruby/ruby/pull/3624/commi...
ioquatix (Samuel Williams)
02:18 AM Feature #17281 (Closed): Remove support for mathn
I merged this at https://github.com/ruby/ruby/commit/b958e2add835d62c0a62edaf9a23ecbbd70a3635 hsbt (Hiroshi SHIBATA)
02:14 AM Revision b958e2ad (git): Removed canonicalization for mathn
nobu (Nobuyoshi Nakada)
02:04 AM Revision 8b3653b4 (git): Fix links
S_H_ (Shun Hiraoka)
01:44 AM Revision b557c576 (git): refactoring.
iv_index_tbl_newsize() usually returns iv_index_tbl->num_entries
because ivup->iv_extended is usually false.
ko1 (Koichi Sasada)

11/09/2020

10:49 PM Revision 2fed5f0a (git): lib/racc/statetransitiontable.rb: Make the racc output stable
Racc calls `Array#sort!` to build a state transition table. As
`Array#sort!` is not a stable sort, the output may dif...
mame (Yusuke Endoh)
10:05 PM Revision d7581370 (git): Add a benchmark for polymorphic ivar setting
This benchmark demonstrates the performance of setting an instance
variable when the type of object is constantly cha...
tenderlovemaking (Aaron Patterson)
10:05 PM Revision 4219cb7a (git): Add debug counter for ivar inline cache misses that could hit
This commit adds a debug counter for the case where the inline cache
*missed* but the ivar index table has an entry f...
tenderlovemaking (Aaron Patterson)
10:05 PM Revision f259906e (git): Avoid slow path ivar setting
If the ivar index table exists, we can avoid the slowest path for
setting ivars.
tenderlovemaking (Aaron Patterson)
09:08 PM Revision 6778ba48 (git): Fix excessive GC rooting
rb_vm_add_root_module() is enough to make sure the object become a GC
root.
alanwu (Alan Wu)
09:08 PM Revision 6817f4c6 (git): rb_vm_add_root_module(): Remove unused parameter
alanwu (Alan Wu)
05:58 PM Bug #17313 (Closed): Backport 9fb60672d55162a92ab7e97b000a7e277458aab1 to Ruby 2.7
This is necessary to fix a bug when fiber and thread are GCed concurrently, and it's causing crashes in fiber tests o... jeremyevans0 (Jeremy Evans)
05:44 PM Revision cbe869b3 (git): * 2020-11-10 [ci skip]
git[bot]
05:44 PM Revision f649946f (git): remove unused debug counter
tenderlovemaking (Aaron Patterson)
05:44 PM Revision 2324584d (git): Update vm_insnhelper.c
Co-authored-by: Takashi Kokubun <[email protected]> Aaron Patterson
05:44 PM Revision 5582c5a2 (git): Remove iv table size check
iv tables cannot shrink. If the inline cache was ever set, then there
must be an entry for the instance variable in ...
tenderlovemaking (Aaron Patterson)
05:44 PM Revision eb229994 (git): eagerly initialize ivar table when index is small enough
When the inline cache is written, the iv table will contain an entry for
the instance variable. If we get an inline ...
tenderlovemaking (Aaron Patterson)
01:28 PM Misc #17299: DevelopersMeeting20201120Japan
* [Feature #17312] New methods in Enumerable and Enumerator::Lazy: flatten, product, compact (zverok)
* If there w...
zverok (Victor Shepelev)
01:27 PM Feature #17312 (Closed): New methods in Enumerable and Enumerator::Lazy: flatten, product, compact
(The offspring of #16987, which was too vague/philosophical)
I propose to add to `Enumerable` and `Enumerator::Laz...
zverok (Victor Shepelev)
07:16 AM Revision d14397bc (git): `fe80` should be case insensitive too
znz (Kazuhiro NISHIYAMA)
05:18 AM Revision ba1472f4 (git): Removed needless require for 'enumerator'
hsbt (Hiroshi SHIBATA)
02:28 AM Misc #17309: URI.escape being deprecated, yet there is no replacement
"But my browser can take UTF-8 URLs!", you might wonder. The reality is they no longer honour what RFCs say. Modern... shyouhei (Shyouhei Urabe)
02:19 AM Misc #17309: URI.escape being deprecated, yet there is no replacement
Re: the reason why `URI.escape` is deprecated and also why there is no transition path:
URI, in general, is a "str...
shyouhei (Shyouhei Urabe)

11/08/2020

04:25 PM Bug #17300 (Closed): The Fiber scheduler does not work with ConditionVariable
Thanks for the quick fix. Eregon (Benoit Daloze)
03:26 AM Bug #17300: The Fiber scheduler does not work with ConditionVariable
https://github.com/ruby/ruby/pull/3743 ioquatix (Samuel Williams)
03:10 AM Bug #17300: The Fiber scheduler does not work with ConditionVariable
Okay, I found an unrelated bug, and also the root cause. PR incoming. ioquatix (Samuel Williams)
01:22 AM Bug #17300: The Fiber scheduler does not work with ConditionVariable
It looks like memory corruption.
```
th_mutex = 0x55613ba19018
-> th_mutex = 0x8
```
Some how the mutex link...
ioquatix (Samuel Williams)
03:50 PM Revision 66107cb1 (git): * 2020-11-09 [ci skip]
git[bot]
03:49 PM Revision b8eb08e0 (git): Fix TestFiberMutex#test_condition_variable assertion
* Now that it works correctly. Eregon (Benoit Daloze)
03:35 PM Feature #16786: Light-weight scheduler for improved concurrency.
matz (Yukihiro Matsumoto) wrote in #note-68:
> I meant `Fiber.use_scheduler(sch)` rather than `Fiber#use_scheduler(s...
Eregon (Benoit Daloze)
06:05 AM Feature #16786: Light-weight scheduler for improved concurrency.
I am sorry. I meant `Fiber.use_scheduler(sch)` rather than `Fiber#use_scheduler(sch)`. It was just a typo.
Matz.
matz (Yukihiro Matsumoto)
02:32 PM Revision fcf8b9ef (git): test/resolv/test_dns.rb: suppress "assigned but unused variable"
mame (Yusuke Endoh)
07:42 AM Revision 54ac1d77 (git): Support s390 IPv6 link local addresses
jeremyevans (Jeremy Evans)
07:40 AM Revision bed48486 (git): Urgent notification pipe has same lifetime as scheduler.
Samuel Williams
07:40 AM Revision 57b83dad (git): Defer `kernel_sleep` to `block` to avoid exiting the event loop when duration is nil.
Samuel Williams
07:40 AM Revision c39984ec (git): Tidy up book keeping for `thread->keeping_mutexes`.
When a scheduler is present, it's entirely possible for
`th->keeping_mutexes` to be updated while enumerating the wai...
Samuel Williams
07:40 AM Revision f7313523 (git): Don't try to resume blocked fiber on dead thread.
Samuel Williams
07:40 AM Revision afe3cb78 (git): `Fiber.new(blocking: false)` is now the default.
Samuel Williams
07:08 AM Feature #17311 (Open): Improve performance Array#deconstruct & Array#to_ary
Improve performance `Array#deconstruct` & `Array#to_ary` with Ruby code.
like this.
```ruby
class Array
def...
S_H_ (Shun Hiraoka)
05:50 AM Bug #17310: Closed ractors should die
It also takes all the available CPU. marcandre (Marc-Andre Lafortune)
03:17 AM Bug #17310 (Closed): Closed ractors should die
While backporting Ractors, I found this issue:
```ruby
10.times { Ractor.new { sleep(0.1) } }
sleep(1)
puts Rac...
marcandre (Marc-Andre Lafortune)
03:01 AM Feature #17286: `Ractor.new` should accept `move: true`
I'd say let's start with a simple version and see what use-cases come up.
Seems already possible to mix and match ...
marcandre (Marc-Andre Lafortune)

11/07/2020

10:39 PM Bug #17300: The Fiber scheduler does not work with ConditionVariable
@eregon thanks for this report, I will investigate it. ioquatix (Samuel Williams)
09:48 PM Bug #17112 (Closed): Resolv.getaddress fails with IPv6 link-local addresses
Applied in changeset commit:git|2f12af42f7f26d570219b87a89294532a86a8ae2.
----------
Add support for IPv6 link local...
jeremyevans (Jeremy Evans)
09:47 PM Revision 2f12af42 (git): Add support for IPv6 link local addresses to resolv
Now that it should work correctly, test that every address returned
by Socket.ip_address_list is resolvable.
Socket ...
jeremyevans (Jeremy Evans)
09:45 PM Bug #12780 (Closed): BigDecimal#round returns different types depending on argument
jeremyevans0 (Jeremy Evans)
09:12 PM Bug #12838 (Closed): Duplication of UDP packets for DNS responses causing "no address" results for valid hostnames
Applied in changeset commit:git|9682db065158da5fa4ec8a3bc267da45b429b92c.
----------
Remove sender/message_id pair a...
jeremyevans (Jeremy Evans)
09:12 PM Revision fcde1e0e (git): * 2020-11-08 [ci skip]
git[bot]
09:12 PM Revision 9682db06 (git): Remove sender/message_id pair after response received in resolv
Once a response for a given DNS request has been received (which
requires a matching message id), the [sender, messag...
jeremyevans (Jeremy Evans)
02:43 PM Feature #16786: Light-weight scheduler for improved concurrency.
I added this issue to the next dev meeting (#17299).
BTW, matz mentioned `Fiber#use_scheduler(sch)` (instance method...
Eregon (Benoit Daloze)
02:36 PM Feature #16786: Light-weight scheduler for improved concurrency.
In the PR above, `Fiber.set_scheduler(value)` is used.
`Fiber.set_scheduler(value)` feels weird and inconsistent for...
Eregon (Benoit Daloze)
10:40 AM Feature #16786: Light-weight scheduler for improved concurrency.
Here is the PR for the changes as discussed: https://github.com/ruby/ruby/pull/3742 ioquatix (Samuel Williams)
02:12 AM Feature #16786: Light-weight scheduler for improved concurrency.
After discussion with @ioquatix, we have decided the method to specify the fiber scheduler should be `Fiber#use_sched... matz (Yukihiro Matsumoto)
02:39 PM Misc #17299: DevelopersMeeting20201120Japan
* [Feature #16786] Light-weight scheduler for improved concurrency (eregon)
* @matz: The `Fiber.set_scheduler(value...
Eregon (Benoit Daloze)
02:09 PM Misc #17309: URI.escape being deprecated, yet there is no replacement
Hi Jeremy, thx for the context on the inconsistencies, that's pretty useful info.
> Can you explain why "http%3A%2...
chucke (Tiago Cardoso)
06:12 AM Misc #17309: URI.escape being deprecated, yet there is no replacement
Maybe @naruse can describe the reason it was deprecated over 11 years ago in commit:238b979f1789f95262a267d8df6239806... jeremyevans0 (Jeremy Evans)
01:26 AM Misc #17309 (Open): URI.escape being deprecated, yet there is no replacement
I'm on ruby 2.7.2 . The moment I do
```ruby
uri = "http://bücher.ch"
URI.escape uri
(irb):5: warning: URI.escap...
chucke (Tiago Cardoso)
01:56 PM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
nobu (Nobuyoshi Nakada) wrote in #note-6:
> Not all members need to be initialized, otherwise “zero”ed.
Right, I ...
Eregon (Benoit Daloze)
04:59 AM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
Eregon (Benoit Daloze) wrote in #note-5:
> However, this struct design means all implementations will have to define...
nobu (Nobuyoshi Nakada)
01:12 PM Revision 5823f6c2 (git): Fix indentation
ktsj (Kazuki Tsujimoto)
01:05 PM Revision 640fd94e (git): Fix and remove spec testing undefined behavior
ktsj (Kazuki Tsujimoto)
10:39 AM Revision 5b3572b5 (git): Update dependencies
Samuel Williams
10:39 AM Revision a08ee833 (git): Rename to `Fiber#set_scheduler`.
Samuel Williams
08:03 AM Bug #13768: SIGCHLD and Thread dead-lock problem
@ko1 we discussed this briefly. I disagree with introducing `Thread.ignore_deadlock`.
It should be responsibility ...
ioquatix (Samuel Williams)

11/06/2020

07:40 PM Bug #17272 (Third Party's Issue): Ruby 2.7.2 crash report
jeremyevans0 (Jeremy Evans)
05:55 PM Revision 656d4cdd (git): * 2020-11-07 [ci skip]
git[bot]
05:55 PM Revision f234f274 (git): Add docs for some C extension GC APIs
alanwu (Alan Wu)
04:46 PM Feature #17291: Optimize __send__ call
The new benchmark result is below:
```
# Iteration per second (i/s)
| |compare-ruby|built-...
mrkn (Kenta Murata)
04:45 PM Feature #17291 (Assigned): Optimize __send__ call
mrkn (Kenta Murata)
04:45 PM Feature #17291: Optimize __send__ call
shyouhei (Shyouhei Urabe) wrote in #note-4:
> It seems this leaks memory?
>
> ```ruby
> `nproc --all`.to_i.times...
mrkn (Kenta Murata)
12:34 PM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
@ko1 discussed with @matz and they concluded with this interface:
```c
Init_foo()
{
RB_EXT_CONFIG({
.racto...
Eregon (Benoit Daloze)
10:19 AM Bug #17308 (Closed): RubyVM::InstructionSequence.compile_file doesn't use the same default encoding than Kernel.load

```ruby
def test_compile_file_encoding
Tempfile.create(%w"test_iseq .rb") do |f|
f.puts '{ "Þ" => "T...
byroot (Jean Boussier)
08:42 AM Revision 037803e0 (git): Added dependency for net-protocol
hsbt (Hiroshi SHIBATA)
07:14 AM Revision 7718e958 (git): a part of T_DATA object can Ractor#send
T_DATA objects can refer unshareable objects and they should be
copied recursively, however there is no way to replac...
ko1 (Koichi Sasada)
04:28 AM Revision 4948982b (git): Update TypeProf to 0.4.2
mame (Yusuke Endoh)

11/05/2020

08:28 PM Revision 6d17c9fa (git): gc_rest can change the total pages, so we need to do that first
tenderlovemaking (Aaron Patterson)
08:27 PM Revision d8da5c19 (git): add asserts to find crash
tenderlovemaking (Aaron Patterson)
07:13 PM Revision ab5f2fa4 (git): Refactor verification method
Combine everything in to one C function tenderlovemaking (Aaron Patterson)
04:51 PM Revision 68a3a2d9 (git): take VM lock when mutating the heap
tenderlovemaking (Aaron Patterson)
03:12 PM Revision 193edbde (git): * 2020-11-06 [ci skip]
git[bot]
03:11 PM Revision 8014ed9b (git): Update RBS & TypeProf (#3732)
* Bundle rbs 0.16.0
* Bundle typeprof 0.4.1
soutaro (Soutaro Matsumoto)
02:15 PM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
An advantage of the symbol approach is it's automatically backward compatible.
Otherwise, we need to design a way to...
Eregon (Benoit Daloze)
02:09 PM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
From discussing with @ko1,
another way to mark would be to call a function in `Init_foo`, like:
```c
static VALUE foo...
Eregon (Benoit Daloze)
11:26 AM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
Above I suggested to mark a whole C extension as thread-safe/ractor-safe/unsafe, but we could potentially also mark o... Eregon (Benoit Daloze)
11:10 AM Feature #17307 (Closed): A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
I would like to design a way to mark C extensions as thread-safe, Ractor-safe, or unsafe (= needs process-global lock... Eregon (Benoit Daloze)
12:45 PM Bug #17306: TestGCCompact#test_ast_compacts test failures
There is probably more failures. Disabling the $SUBJECT test case, another failing test is `TestGCCompact#test_compac... vo.x (Vit Ondruch)
08:53 AM Bug #17306: TestGCCompact#test_ast_compacts test failures
Please note that previously, I was using 02e17d473a and that worked without issues. vo.x (Vit Ondruch)
08:38 AM Bug #17306 (Closed): TestGCCompact#test_ast_compacts test failures
Trying to build recent master, I randomly observe following issue:
~~~
[ 8682/20873] TestGCCompact#test_ast_compa...
vo.x (Vit Ondruch)
11:54 AM Revision 3407b7d8 (git): Revert "Prefer #send over #__send__ when it is clear there is no possible conflict"
This reverts commit 4dba0c1a8e3cc08664872e637099c4e7d58d24d3.
Matz's comment is "send is not deprecated. __send__ is...
naruse (Yui NARUSE)
11:51 AM Revision b29fe5eb (git): Add description __send__ is safer
naruse (Yui NARUSE)
11:21 AM Revision b2ca183c (git): Promote un.rb to the default gems. It's preparation for 3.0.0-preview2.
hsbt (Hiroshi SHIBATA)
11:12 AM Misc #17299: DevelopersMeeting20201120Japan
* [Feature #17307] A way to mark C extensions as thread-safe, Ractor-safe, or unsafe (eregon)
* I'd like feedback o...
Eregon (Benoit Daloze)
10:38 AM Misc #17299: DevelopersMeeting20201120Japan
* [Feature #17100] Ractor naming (eregon)
* What should be the method name to send a message? `send` seems problem...
Eregon (Benoit Daloze)
10:44 AM Feature #17208: Add `Set#compact` and `Set#compact!` methods
bozhidar (Bozhidar Batsov) wrote in #note-4:
> I like the proposal. I also wonder if we shouldn't be able to able to...
Eregon (Benoit Daloze)
09:41 AM Feature #17208: Add `Set#compact` and `Set#compact!` methods
I like the proposal. I also wonder if we shouldn't be able to able to reject nils at Set creation time, as nil rarely... bozhidar (Bozhidar Batsov)
10:23 AM Revision 4dba0c1a (git): Prefer #send over #__send__ when it is clear there is no possible conflict
* Reverts part of 3198e7abd70bd2af977f2bb6c967e9df8f91adb0.
* If the rule is #send should be deprecated, that should ...
Eregon (Benoit Daloze)
07:57 AM Bug #17289: Time#strftime occurs Segmentation Fault on ruby-2.7.2p137
FYI:
I downgraded ruby to v2.7.1.
But in our environment, this error occurred with the same stacktrace.
joker1007 (Tomohiro Hashidate)
07:11 AM Feature #17127: Some TrueClass methods are faster if implemented in Ruby
recreate PR for merge `.rb` files
https://github.com/ruby/ruby/pull/3737
S_H_ (Shun Hiraoka)
 

Also available in: Atom