[#107008] [Ruby master Bug#18465] Make `IO#write` atomic. — "ioquatix (Samuel Williams)" <noreply@...>
Issue #18465 has been reported by ioquatix (Samuel Williams).
16 messages
2022/01/09
[#107150] [Ruby master Feature#18494] [RFC] ENV["RUBY_GC_..."]= changes GC parameters dynamically — "ko1 (Koichi Sasada)" <noreply@...>
Issue #18494 has been updated by ko1 (Koichi Sasada).
4 messages
2022/01/17
[#107170] Re: [Ruby master Feature#18494] [RFC] ENV["RUBY_GC_..."]= changes GC parameters dynamically
— Eric Wong <normalperson@...>
2022/01/17
> https://bugs.ruby-lang.org/issues/18494
[#107302] [Ruby master Bug#18553] Memory leak on compiling method call with kwargs — "ibylich (Ilya Bylich)" <noreply@...>
Issue #18553 has been reported by ibylich (Ilya Bylich).
4 messages
2022/01/27
[#107346] [Ruby master Misc#18557] DevMeeting-2022-02-17 — "mame (Yusuke Endoh)" <noreply@...>
Issue #18557 has been reported by mame (Yusuke Endoh).
18 messages
2022/01/29
[ruby-core:107396] [Ruby master Bug#18560] "Compaction isn't available on this platform" error running PG test suite on ppc64le
From:
"mame (Yusuke Endoh)" <noreply@...>
Date:
2022-01-31 16:38:21 UTC
List:
ruby-core #107396
Issue #18560 has been updated by mame (Yusuke Endoh).
@peterzhu2118 JFYI: If the method body is `rb_f_notimplement`, `Kernel#respond_to?` returns false.
For example, `Kernel#fork` is defined as such in Windows. https://github.com/ruby/ruby/blob/605f226142a47c4f9e4cc88717c5d6170bc3d7f1/process.c#L4431
```
PS C:\> ruby -ve 'p respond_to?(:fork); fork'
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x64-mingw32]
false
-e:1:in `fork': fork() function is unimplemented on this machine (NotImplementedError)
from -e:1:in `<main>'
```
However, I think it is currently impossible to define such a method in Ruby code, i.e., `gc.rb`. I have no opinion whether it is worth putting effort on this.
----------------------------------------
Bug #18560: "Compaction isn't available on this platform" error running PG test suite on ppc64le
https://bugs.ruby-lang.org/issues/18560#change-96298
* Author: vo.x (Vit Ondruch)
* Status: Open
* Priority: Normal
* ruby -v: ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [powerpc64le-linux]
* Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN
----------------------------------------
Trying to execute test suite of `pg` gem on ppc64le, I observe a following error:
~~~
... snip ...
1) GC.compact should compact PG::TypeMapByClass #328
Failure/Error: GC.verify_compaction_references(toward: :empty, double_heap: true)
NotImplementedError:
Compaction isn't available on this platform
# <internal:gc>:257:in `verify_compaction_references'
# ./spec/pg/gc_compact_spec.rb:58:in `block (2 levels) i
... snip ...
~~~
This is surprising, given that the test suite seems to do reasonable effort to guard this behavior [1]:
~~~
... snip ...
describe "GC.compact", if: GC.respond_to?(:compact) do
... snip ...
~~~
Is this expected or bug?
[1]: https://github.com/ged/ruby-pg/blob/6c436bda9aaf7bc053ef348afd99e2e035d5d0a3/spec/pg/gc_compact_spec.rb#L26
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>