| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
https://github.com/rubygems/rubygems/commit/e41156e272
|
|
|
|
|
|
| |
It's a `BundlerError`.
https://github.com/rubygems/rubygems/commit/53ea676dab
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/abd91ca2e5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
writable bit
Instead, don't check that at all and proceed. If something fails to be
written inside GEM_HOME, we'll eventually fail with a proper permissions
error.
In addition to that, the writable bit in GEM_HOME is not even reliable,
because only the immediate parent is actually checked when writing. For
example,
```
$ mkdir -p foo/bar
$ chmod -w foo
$ touch foo/bar/baz # writes without issue
```
https://github.com/rubygems/rubygems/commit/4bced7ac73
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/c0b549f943
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`--user-install`
The combination of `install-dir` and `--user-install` used to be
disabled for no good reason. This even makes problem on Linux
distributions such as Fedora, where `--user-install` is set by default
via operating_system.rb.
The `--install-dir` is already prefered over the `--user-install` by
the implementation, therefore just drop the check.
https://github.com/rubygems/rubygems/commit/313b1c5e76
|
|
|
|
|
|
|
|
|
|
| |
It is not nice to require install directory to be always specified,
while this option is later ignored for user installed gems.
Actually, the next step will be to remove `check_install_dir` check and
let the install dir override the user install.
https://github.com/rubygems/rubygems/commit/beb79e929f
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/6539da07aa
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The main purpose is to put handling of user installation into the same
place as e.g. handling the --build-root option handling. There is no
reason why the --build-root option should not prefix also paths used for
user installation.
Please note that the `util_installer` in
`test_generate_plugins_with_user_install` enforced the `:install_dir`,
which is against what user install is about.
https://github.com/rubygems/rubygems/commit/0b10cb41aa
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/f1d44ecb62
|
|
|
|
|
|
| |
Errno::ACCES, in addition to Gem::FilePermissionError.
https://github.com/rubygems/rubygems/commit/784fe2a814
|
|
|
|
| |
https://github.com/flori/json/commit/ec47749b53
|
|
|
|
|
|
|
|
|
|
|
| |
We still need to do `jit.record_boundary_patch_point = false`
when gen_outlined_exit() returns `None` and we return with `?`.
Previously, we tripped the assert at codegen.rs:1042.
Found with `--yjit-exec-mem-size=3` on the lobsters benchmark.
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We've long had a size restriction on the code memory region such that a
u32 could refer to everything. This commit capitalizes on this
restriction by shrinking the size of `CodePtr` to be 4 bytes from 8.
To derive a full raw pointer from a `CodePtr`, one needs a base pointer.
Both `CodeBlock` and `VirtualMemory` can be used for this purpose. The
base pointer is readily available everywhere, except for in the case of
the `jit_return` "branch". Generalize lea_label() to lea_jump_target()
in the IR to delay deriving the `jit_return` address until `compile()`,
when the base pointer is available.
On railsbench, this yields roughly a 1% reduction to `yjit_alloc_size`
(58,397,765 to 57,742,248).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This drops the total size of a Time object from 86 bytes to 80 bytes.
Running the benchmark benchmark/time_now.yml, this commit improves
performance of Time.now by about 30%:
```
Time.now
Branch: 13159405.4 i/s
Master: 10036908.7 i/s - 1.31x slower
Time.now(in: "+09:00")
Branch: 2712172.6 i/s
Master: 2138637.9 i/s - 1.27x slower
```
It also decreases memory usage by about 20%:
```
ary = 10_000_000.times.map { Time.now }
puts `ps -o rss= -p #{$$}`
```
Branch: 961792
Master: 1196544
Co-Authored-By: Jean Boussier <byroot@ruby-lang.org>
|
|
|
|
|
|
|
|
| |
This commit adds a new flag RUBY_TYPED_EMBEDDABLE that allows the data
of a TypedData object to be embedded after the object itself. This will
improve cache locality and allow us to save the 8 byte data pointer.
Co-Authored-By: Jean Boussier <byroot@ruby-lang.org>
|
|
|
|
|
|
| |
This commit compiles most parameter types, setting appropriate values on
the ISEQ_BODY. It also adds tests for callers and callees of methods,
using many versions of tests from bootstraptest
|
|
|
|
|
| |
* YJIT: update yjit.md, add MPLR 2023 paper and bibtex
* Update doc/yjit/yjit.md
|
| |
|
|
|
|
|
|
|
| |
* YJIT: Inline basic Ruby methods
* YJIT: Fix "InsnOut operand made it past register allocation"
checktype should not generate a useless instruction.
|
|
|
|
|
|
| |
If the VM ran out of shape, `rb_shape_transition_shape_capa` might
return `OBJ_TOO_COMPLEX_SHAPE`.
Co-authored-by: Jean Boussier <byroot@ruby-lang.org>
|
| |
|
|
|
|
|
|
| |
(https://github.com/ruby/reline/pull/601)
https://github.com/ruby/reline/commit/d15ab72d4f
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
As agreed in [Feature #18822]
https://github.com/ruby/cgi/commit/9d1161ec9d
|
| |
|
| |
|
|
|
|
| |
https://github.com/ruby/zlib/commit/2561e122ac
|
|
|
|
| |
https://github.com/ruby/zlib/commit/661ea3ec5f
|
| |
|
|
|
|
| |
https://github.com/ruby/cgi/commit/6ddd5fc7d7
|
| |
|
|
|
|
| |
https://github.com/ruby/pathname/commit/f3d23679b0
|
| |
|
|
|
|
| |
https://github.com/ruby/open-uri/commit/09df813305
|
| |
|
|
|
|
| |
https://github.com/ruby/English/commit/826ff728cf
|
|
|
|
|
|
| |
clearly denote sameness and make more concise.
https://github.com/ruby/English/commit/dcff090f6f
|
| |
|
|
|
|
| |
https://github.com/ruby/fileutils/commit/577fd38f15
|
| |
|
|
|
|
| |
https://github.com/ruby/base64/commit/09e839e5ad
|