Merge pull request #58476 from Shopify/structured_log_subscriber_ract…
…orize Make Action View subscribers ractor safe
…orize Make Action View subscribers ractor safe
Make ActionView::StructuredEventSubscriber and ActionView::LogSubscriber root assignment ractor safe.
Same as test_settracefunc.rb. This should fix flaky CI failures like https://github.com/ruby/ruby/actions/runs/31826726042/job/94852494689
page_pool_reclaim() advises (madvise) cold page bodies only when the OS page size is smaller than HEAP_PAGE_SIZE, because the first OS page
Since frozen ar_table can occupy smaller slots, shrinking the table on freeze potentially allow the Hash to be demoted to an even smaller sl
Build Better Websites. Create modern, resilient user experiences with web fundamentals. - Support preloads in resolved client entries (#1168
Mainly, to dodge warnings on i686: ../src/zjit.h: In function ‘ZJIT_STACK_MAP_BASE_PTR_STACK_SIZE’: ../src/zjit.h:83:18: warning: r
This reverts commit https://github.com/ruby/digest/commit/0296b240dc17. https://github.com/ruby/digest/commit/49e16371f7
``` /github/workspace/src/ext/digest/blake3/blake3_dispatch.c:108:5: error: '_Atomic' is a C11 extension [-Werror,-Wc11-extensions]
The distributed files do not include `extconf.h` generated by `create_header`. https://github.com/ruby/digest/commit/d3bcdccba3
…is enabled It still needs to take the VM lock occasionally to protect certain global data structures during marking but it doesn't hav
- ### Context This patch is about the `default_url_options` used to tweak the generated urls when calling e.g. `my_route_path` inside
- verify_waiting_list compared w->data.timeout with itself, so the sorted-order assert was vacuously true and the waiting list's O(
A retiring shared thread -- ractor_sched_deq giving itself back, or a thread rejoining a full pool (nt->retiring) -- just returned from n
rb_nogvl resolved RUBY_UBF_IO / RUBY_UBF_PROCESS to ubf_select before looking at RB_NOGVL_UBF_ASYNC_SAFE, so a caller combining the two had
The M:N wait set th->status to THREAD_STOPPED_FOREVER around the park and to THREAD_RUNNABLE after it, unconditionally. A dedicated thre
native_thread_create_shared called thread_sched_to_ready before trying to widen the shared pool, so when pthread_create failed the creator&#
None of these is reachable with default settings; each is a mine for a configuration or platform that steps on it. - timer_thread_set_timeo
waitfd_to_waiting_flag maps RB_WAITFD_PRI to no thread_sched_waiting_* event, so the M:N scheduler registered nothing for it yet parked the
thread_io_wait() sent every fd wait with a timeout to the blocking region (ppoll on a dedicated native thread), even under M:N. A pattern l
ractor_sched_enq only signalled ractor.sched.cond. The signal reaches a parked shared native thread, and a running one revisits the queue i
In the forked child: - Do not pthread_mutex_destroy timer_th.waiting_lock. glibc returns EBUSY (which rb_native_mutex_destroy turns into
…g-test Restore `unshareable_proc_action` with `ensure` in default scoping test
`test_default_scopes_are_ractor_shareable` read the global `ActiveSupport::Ractors.unshareable_proc_action`, set it to `:raise`, and restore
This reverts commit b8293470aca5334d85ef0be1e9bc150799d3cf2c.
Build Better Websites. Create modern, resilient user experiences with web fundamentals. - Bump static middleware back to 0.4.14 (#11700) · r
This patch allows the OS to free page and arena memory. This only happens in single objspace mode at the end of a major GC. There is still a
https://github.com/ruby/digest/commit/0296b240dc
Instead of iterating over the bytes of the ar_table hints one by one, we can use a little bit of SWAR code to match them all at once and ret
1. はじめに 前回の記事:【AWS入門】ハンズオンで学んだ5つのサービス(VPC・EC2・RDS・ELB・S3)を整理してみた 前回、VPC・EC2・RDS・ELB・S3について、それぞれの役割とハンズオンで行ったことを整理しました。 その中で、繰り返し登場する用語...
チューリングの MLOps エンジニアの岩政です。 チューリングでは、センサ入力から車両の将来の行動を一貫して推定する学習ベースのモデルとして End-to-End (E2E) 自動運転 AI を開発しています。E2E 自動運転 AI の学習にはデータセットが必要です。私の所属す
https://github.com/ruby/digest/commit/d3180312b2
https://github.com/ruby/digest/commit/13dcf1d26e
We need extconf to detect which SIMD features the compiler and processor support, then we can compile in SIMD support for BLAKE3 https://gi
Let the schema readers answer for many tables at once
Schema dumping asked the database about each table separately, so round trips grew with the size of the schema: primary keys, indexes, forei
* Add support for the HTTP QUERY method RFC 10008 defines QUERY as a safe and idempotent HTTP method that conveys the query in the request
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
Remove "missing" workarounds from Active Record
Implements GC fastpath for HashDup instruction for AR hashes (<= 8 elements). This instruction is used for non-empty hashes that have onl
Build Better Websites. Create modern, resilient user experiences with web fundamentals. - Skip blocked static middleware publish (#11698) ·
Build Better Websites. Create modern, resilient user experiences with web fundamentals. - Recover static middleware release as 0.4.15 (#1169
Since 45fd5d58f1 both malloc counter baselines are taken at the start of a GC, so every xfree performed by sweeping lands in `free_delta` an
Build Better Websites. Create modern, resilient user experiences with web fundamentals. - chore: format · remix-run/remix@d3094fe
Build Better Websites. Create modern, resilient user experiences with web fundamentals. - Release (#11586) · remix-run/remix@2949a59