General

Profile

pocke (Masataka Kuwabara)

  • Login: pocke
  • Registered on: 01/07/2017
  • Last sign in: 07/03/2026

Issues

open closed Total
Assigned issues 0 18 18
Reported issues 2 16 18

Projects

Project Roles Registered on
Ruby Committer 03/11/2021

Activity

07/03/2026

09:22 AM Ruby Revision 31bf04b4 (git): [ruby/json] Fix ResumableParser treating unterminated line comments as complete
A `//` line comment split across a feed boundary was treated as fully
consumed, so comment body delivered in a later chunk leaked out as parsed
JSON values.
## Reproduction
```ruby
require "json"
parser = JSON::ResumableParser.new(all...
pocke (Masataka Kuwabara)

06/22/2026

07:51 AM Ruby Revision 2f65ce7c (git): [ruby/json] Preserve UTF-8 encoding when reallocating a frozen ResumableParser buffer
`JSON::ResumableParser#<<` raises `Encoding::CompatibilityError` when the
first chunk is a frozen multibyte UTF-8 string and more data is fed after a
partial parse.
## Reproduction
```ruby
require "json"
parser = JSON::ResumableParser...
pocke (Masataka Kuwabara)

02/14/2025

07:32 AM Ruby Bug #21127 (Closed): Thread deadlock does not display backtraces
Applied in changeset commit:git|0cab608d3a7791c229eea2ebe276494f063c8176.
----------
[Bug #21127] Thread deadlock does not display backtraces (#12721)
Previously, Ruby displayed backtraces for each thread on deadlock. However, it has n...
pocke (Masataka Kuwabara)
07:31 AM Ruby Revision 0cab608d (git): [Bug #21127] Thread deadlock does not display backtraces (#12721)
Previously, Ruby displayed backtraces for each thread on deadlock. However, it has not been shown since Ruby 3.0.
It should display the backtrace for debugging.
Co-authored-by: Jeremy Evans <code@jeremyevans.net>
pocke (Masataka Kuwabara)

02/10/2025

07:53 AM Ruby Bug #21127 (Closed): Thread deadlock does not display backtraces
Previously, Ruby displayed backtraces for each thread on deadlock. However, it has not been shown since Ruby 3.0.
It should display the backtrace for debugging. (related: https://bugs.ruby-lang.org/issues/8214)
## Step to reproduce
...
pocke (Masataka Kuwabara)

01/02/2025

04:40 PM Ruby Revision 2f067447 (git): [ruby/prism] Fix cross-compile issue with newlib on Ubuntu 24.04
https://github.com/ruby/prism/commit/61ebe51233 pocke (Masataka Kuwabara)

09/09/2024

07:25 AM Ruby Bug #20710: Reducing Hash allocation introduces large performance degradation (probably related to VWA)
@peterzhu2118 Thanks for your work! I've confirmed this PR improves the performance in my environment too. pocke (Masataka Kuwabara)

09/02/2024

06:24 AM Ruby Bug #20710 (Closed): Reducing Hash allocation introduces large performance degradation (probably related to VWA)
I found a surprising performance degradation while developing RBS.
In short, I tried to remove unnecessary Hash allocations for RBS. Then, it made the execution time 2x slower.
VWA for Hash probably causes this degradation. I'd be ha...
pocke (Masataka Kuwabara)

05/28/2024

08:29 PM Ruby Revision 7a3cc549 (git): Fix error when default gem is loaded from `-r` option
This patch fixes an error when a default gem that will be migrated to
a bundled gem is loaded from `-r` option.
Problem
===
`bundle exec ruby -rostruct -e ''` unexpectedly raises the following error:
```console
$ ruby -v
ruby 3.4.0dev...
pocke (Masataka Kuwabara)

04/08/2024

06:48 AM Ruby Revision 76914d47 (git): Fix error when default gem is loaded from `-r` option
This patch fixes an error when a default gem that will be migrated to
a bundled gem is loaded from `-r` option.
Problem
===
`bundle exec ruby -rostruct -e ''` unexpectedly raises the following error:
```console
$ ruby -v
ruby 3.4.0dev...
pocke (Masataka Kuwabara)

Also available in: Atom