| Age | Commit message (Collapse) | Author |
|
|
|
https://github.com/ruby/irb/commit/7aed8fe3b1
|
|
Notes:
Merged-By: nurse <naruse@airemix.jp>
|
|
timer_posix mode is managed by timer_posix.state. This patch
adds some debug code for the transition of the state.
Notes:
Merged: https://github.com/ruby/ruby/pull/4145
|
|
|
|
to improve performance
|
|
I want to push another repo/branch to run CI before pushing it to
official branch.
|
|
The installation script fault seems fixed at 2.5.23.20200904.
|
|
|
|
|
|
This value should either be pinned, or looked up when needed at runtime.
Without pinning, the GC may move the encoding object, and that could
cause a crash.
In this case it is easier to find the value at runtime, and there is no
performance penalty (as Ruby caches encoding indexes). We can shorten
the code, be compaction friendly, and incur no performance penalty.
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4124
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4124
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4124
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4124
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4124
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4142
|
|
For already preprocessed header, -Werror=misleading-indentation
doesn't make sense.
|
|
Add --preprocessor and --preprocessor-arg for each preprocessor
command arguments, as windres 2.36 requires preprocessor name and
arguments to be separated to respect spaces in these paths.
|
|
`File.absolute_path?` has been added since Ruby 2.7.0, but it isn't
mentioned in the NEWS. So this patch adds a NEWS entry.
ref: https://bugs.ruby-lang.org/issues/15868
Co-authored-by: nagachika <nagachika@ruby-lang.org>
Notes:
Merged: https://github.com/ruby/ruby/pull/4139
Merged-By: nobu <nobu@ruby-lang.org>
|
|
|
|
|
|
It always branches by `obj` is `Qundef` or not, which is invariant
for each functions; `obj_method` is the latter, and the other two
are the former.
|
|
It is unable where unaligned word access is disallowed and
`double` is wider than pointers.
|
|
|
|
Because of `double` in `RFloat`, `RValue` would be packed by
`sizeof(double)` by default, on platforms where `double` is wider
than `VALUE`. Size of `RValue` is multiple of 5 now.
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4137
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4134
|
|
Notes:
Merged-By: mame <mame@ruby-lang.org>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4135
|
|
|
|
Notes:
Merged-By: soutaro <matsumoto@soutaro.com>
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4129
|
|
rb_funcall* (rb_funcall(), rb_funcallv(), ...) functions invokes
Ruby's method with given receiver. Ruby 2.7 introduced inline method
cache with static memory area. However, Ruby 3.0 reimplemented the
method cache data structures and the inline cache was removed.
Without inline cache, rb_funcall* searched methods everytime.
Most of cases per-Class Method Cache (pCMC) will be helped but
pCMC requires VM-wide locking and it hurts performance on
multi-Ractor execution, especially all Ractors calls methods
with rb_funcall*.
This patch introduced Global Call-Cache Cache Table (gccct) for
rb_funcall*. Call-Cache was introduced from Ruby 3.0 to manage
method cache entry atomically and gccct enables method-caching
without VM-wide locking. This table solves the performance issue
on multi-ractor execution.
[Bug #17497]
Ruby-level method invocation does not use gccct because it has
inline-method-cache and the table size is limited. Basically
rb_funcall* is not used frequently, so 1023 entries can be enough.
We will revisit the table size if it is not enough.
Notes:
Merged: https://github.com/ruby/ruby/pull/4129
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4128
|
|
If `build` directory exists, `rake build` is `Rake::FileTask`.
So skip if exists.
|
|
Float should not be compared by identity.
Notes:
Merged: https://github.com/ruby/ruby/pull/4126
|
|
A path starts with '/' is not an absolute path on Windows, because
of drive letter or UNC.
Notes:
Merged: https://github.com/ruby/ruby/pull/4127
|
|
|
|
|
|
|
|
Because `.ext/common` is not relative from top source directory.
Fix failures with out-of-place build directory.
|
|
because some features are already loaded.
|
|
|
|
|
|
Co-Authored-By: Matt Valentine-House <31869+eightbitraptor@users.noreply.github.com>
Notes:
Merged: https://github.com/ruby/ruby/pull/4064
|
|
|