Shohei YOSHIDA
6cd0553ab7
[rubygems/rubygems] Update comment by the review comment
...
https://github.com/rubygems/rubygems/commit/7c54dc56f6
2022-11-14 23:39:32 +00:00
Shohei YOSHIDA
436aa6e64d
[rubygems/rubygems] Fix '--force' option documentation of 'bundle clean'
...
'--path' option is no longer used.
https://github.com/rubygems/rubygems/commit/43b3d5f7bc
2022-11-14 23:39:32 +00:00
Peter Zhu
710c1ada84
Use string's capacity to determine if reembeddable
...
During auto-compaction, using length to determine whether or not a
string can be re-embedded may be a problem for newly created strings.
This is because usually it requires a malloc before setting the length.
If the malloc triggers compaction, then the string may be re-embedded
and can cause crashes.
2022-11-14 16:59:43 -05:00
Peter Zhu
9a6c3355c5
Set array capacity/shared immediately after alloc
...
If auto-compaction is enabled, then we have to set the capacity/shared
immediately after allocating a heap array. If compaction runs before
capacity/shared is set then it could cause the array to be re-embedded,
which can cause crashes.
2022-11-14 15:40:47 -05:00
Peter Zhu
6dd1a5f532
Remove unused function rb_shape_transition_shape
2022-11-14 11:25:41 -05:00
Nobuyoshi Nakada
1221c77489
Clean YJIT libraries [ci skip]
2022-11-14 22:41:59 +09:00
Nobuyoshi Nakada
3fae53a343
[Bug #19127 ] Fix revision.h dependency when no baseruby
...
Disconnect the dependency of revision.h on the timestamp file if no
baseruby is available
2022-11-14 18:59:06 +09:00
Takashi Kokubun
a8537aa6a5
Import shape constants with mjit-bindgen
2022-11-14 00:29:28 -08:00
Takashi Kokubun
80bab6c8ed
Import class constants with mjit-bindgen
2022-11-14 00:24:08 -08:00
git
e4e2ff76a8
Update default gems list at d019c3a4bd
[ci skip]
2022-11-14 06:38:18 +00:00
Yusuke Endoh
d019c3a4bd
[ruby/error_highlight] Bump version
...
https://github.com/ruby/error_highlight/commit/5275078dc6
2022-11-14 06:37:33 +00:00
Yusuke Endoh
81c494d810
[ruby/error_highlight] Enable tests for TypeError and ArgumentError
...
These tests were unintentionally disabled by `if false`
https://github.com/ruby/error_highlight/commit/fa6d00d80d
2022-11-14 06:22:35 +00:00
Yusuke Endoh
8bfd4dd4e1
[ruby/error_highlight] Enable ErrorHighlight for TypeError/ArgumentError only after Ruby 3.2
...
... because changing TypeError#message and ArgumentError#message is
highly incompatible.
https://github.com/ruby/error_highlight/commit/39aa897c7a
2022-11-14 06:06:12 +00:00
Takashi Kokubun
96d29dff66
Fix invokebuiltin in Ruby MJIT
...
45fe7f7575/tool/ruby_vm/views/_mjit_compile_invokebuiltin.erb (L21)
has not been ported correctly.
2022-11-13 21:14:47 -08:00
Takashi Kokubun
3dd4e381fe
Reduce the number of branches in jit_exec ( #6722 )
...
* Reduce the number of branches in jit_exec
* Address build failure in some configurations
* Refactor yjit.h
2022-11-13 20:35:35 -08:00
dependabot[bot]
ea278ddd92
Bump actions/upload-artifact from 3.1.0 to 3.1.1
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](3cea537223...83fd05a356
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 11:54:32 +09:00
Takashi Kokubun
dc5e2eaab6
Refactor update_global_event_hook
...
It seems more readable to put JIT invalidation code together.
2022-11-13 15:13:44 -08:00
Takashi Kokubun
e377875cff
s/mjit_func_t/jit_func_t/
2022-11-13 14:41:08 -08:00
Takashi Kokubun
68e0523484
Remove unused debug counters
...
The structure and readability of jit_exec is messed up right now. I'd
like to help the current situation by this for now. I'll resurrect
them when I need it again.
2022-11-13 14:00:30 -08:00
Takashi Kokubun
6246788bc4
YJIT: Instrument global allocations on stats build ( #6712 )
...
* YJIT: Instrument global allocations on stats build
* Just use GLOVAL_ALLOCATOR.stats()
2022-11-13 12:54:41 -05:00
Alan Wu
bc8ba244b8
YJIT: Fix invalidation for c_call and c_return ( #6719 )
...
Follow-up for 2b8191bdad
. Since that
commit, we stopped doing code invalidation the second time the call and
return events are enabled. We need to do it every time these events are
enabled because we might have generated code while these events are
disabled.
Also rename locals and edit comments to make it more clear that the iseq
rewrite code path only happens the first time a particular iseq trace
event is enabled.
2022-11-13 12:51:19 -05:00
Maxime Chevalier-Boisvert
a1b460bd6e
Update yjit.md
...
Remove disclaimer
2022-11-13 12:42:47 -05:00
Takashi Kokubun
d5e1b82f5c
YJIT: Remove unused src_ctx from Block ( #6714 )
2022-11-13 12:33:23 -05:00
Nobuyoshi Nakada
2f7d2662dd
Control non-parallel parts with `.WAIT` if available
2022-11-13 23:54:43 +09:00
Kenta Murata
8d82f4ba1c
[ruby/bigdecimal] Add specific value allocators
...
* Add NewZero* and NewOne* function families
* Use them instead of VpAlloc for allocating 0 and 1
https://github.com/ruby/bigdecimal/commit/9276a94ac7
2022-11-13 12:33:29 +00:00
Nobuyoshi Nakada
70c9d5b504
Try to overwrite the file in VPATH if possible
2022-11-13 18:05:11 +09:00
Nobuyoshi Nakada
66529eef88
Force to update revision.h when commits differ
2022-11-13 17:38:44 +09:00
Takashi Kokubun
18fa7059e8
Deal with different Ruby versions
2022-11-12 22:15:40 -08:00
Kenta Murata
802dce4acd
[ruby/bigdecimal] Add and use specific value allocators
...
* Add rbd_allocate_struct_zero for making 0.0
* Add rbd_allocate_struct_one for making 1.0
* Use them to replace VpAlloc calls
* Renmae VpPt5 to VpConstPt5
https://github.com/ruby/bigdecimal/commit/40c826f5e6
2022-11-13 06:01:27 +00:00
Kenta Murata
019f53de5c
[ruby/bigdecimal] Make VPrint function always available
...
https://github.com/ruby/bigdecimal/commit/5391f7e92c
2022-11-13 06:01:27 +00:00
Takashi Kokubun
c0735d1d72
Fix a CI failure in bigdecimal
2022-11-12 21:55:00 -08:00
Kenta Murata
d1f55dea86
[ruby/bigdecimal] Tweak VpAlloc
...
* Stop reusing mx and mf
* Check szVal == NULL first
* Treat special values before checking the leading `#`
https://github.com/ruby/bigdecimal/commit/14f3d965f8
2022-11-13 04:29:19 +00:00
Kenta Murata
bbb9f72353
[ruby/bigdecimal] Rewrite allocation functions
...
* Rename them
* Make allocation count operations atomic
https://github.com/ruby/bigdecimal/commit/a5ab34a115
2022-11-13 03:47:40 +00:00
Kenta Murata
2703410289
[ruby/bigdecimal] Twak GetPrecisionInt and rename it to check_int_precision
...
https://github.com/ruby/bigdecimal/commit/69d0588a3b
2022-11-13 02:46:42 +00:00
Kenta Murata
ef1c6109b1
[ruby/bigdecimal] Tweak check_rounding_mode_option
...
https://github.com/ruby/bigdecimal/commit/e1c6c9be25
2022-11-13 02:02:02 +00:00
Kenta Murata
74c6e6e565
[ruby/bigdecimal] Rewrite check_rounding_mode function
...
Use table-lookup algorithm instead of consecutive if-statements.
https://github.com/ruby/bigdecimal/commit/23eaff3ae5
2022-11-13 02:02:01 +00:00
Kenta Murata
b89769b978
[ruby/bigdecimal] [Doc] Fix the document of n_significant_digits
...
https://github.com/ruby/bigdecimal/commit/91b72a9341
2022-11-13 02:02:00 +00:00
Kenta Murata
977aac057f
[ruby/bigdecimal] Make GetVpValue inline
...
https://github.com/ruby/bigdecimal/commit/1b642e2e59
2022-11-13 02:02:00 +00:00
Kenta Murata
0d5248673d
[ruby/bigdecimal] Make BigDecimal_double_fig inline
...
https://github.com/ruby/bigdecimal/commit/4ecf04da7a
2022-11-13 02:01:59 +00:00
Hiroshi SHIBATA
0a9d51ee9d
Migrate our resolver engine to PubGrub
...
https://github.com/rubygems/rubygems/pull/5960
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
2022-11-12 07:40:31 +09:00
Stan Lo
14a1394bcd
[ruby/irb] Simplify info command's tests
...
(https://github.com/ruby/irb/pull/440 )
https://github.com/ruby/irb/commit/5942949226
2022-11-11 21:05:35 +00:00
Burdette Lamar
a48e01ccba
[ruby/net-http] Update lib/net/http.rb
...
https://github.com/ruby/net-http/commit/16d042fad6
Co-authored-by: Peter Zhu <peter@peterzhu.ca>
2022-11-11 17:05:29 +00:00
BurdetteLamar
4d9ada223b
[ruby/net-http] Prettify class hierarchies in Net::HTTP
...
https://github.com/ruby/net-http/commit/4a5732e210
2022-11-11 17:05:28 +00:00
Alan Wu
04c5adf806
YJIT: Fix staying in invalidated code after proc calls
...
Previously, there is no instruction boundary patch point after
the call to a non-leaf C function we generate for
OPTIMIZED_METHOD_TYPE_CALL. This meant that if code GC is triggered
while inside the C function, we would keep running invalidated code when
we return from the C function. This had the effect of running
stale branch stubs, jumping to bad code, etc.
Use jit_prepare_routine_call() to make sure we exit from the invalidated
region as soon as possible after the C call in case of invalidation.
2022-11-11 11:13:07 -05:00
Hiroshi SHIBATA
90bbc891b1
Enable only master-branch
2022-11-11 21:12:56 +09:00
Hiroshi SHIBATA
5a1ddc486b
Test with topic-branch
2022-11-11 21:12:56 +09:00
Hiroshi SHIBATA
800caf4ee1
Use secrets.SCORECARD_READ_TOKEN
2022-11-11 21:12:56 +09:00
Hiroshi SHIBATA
a0fcbce415
Try to use ossf/scorecards
2022-11-11 21:12:56 +09:00
Hiroshi SHIBATA
28611be6ee
Merge RubyGems/Bundler master from ee2f8398324af4bc1b95f7565ce2fda98126e026
2022-11-11 17:24:08 +09:00
Josef Šimánek
de159c5a85
[rubygems/rubygems] Store last check even when upgrade is not available and fix test.
...
https://github.com/rubygems/rubygems/commit/bcffc2b0a5
2022-11-11 17:24:08 +09:00