jmp_ptr_bytes() reserves room for a patchable jump -- it sets page_end_reserve and bounds conditional jump width. A single `b` suffices when every branch in the code region is in imm26 range; otherwise it reserves 5 instructions for an a...felixbuenemann (Felix Bünemann)
jmp_ptr_bytes() sets how much room to reserve for a patchable jump -- it spaces out patch points (PadPatchPoint) and bounds conditional jump width. It was hardcoded to 5 instructions, an absolute load-address plus br, with the check for ...felixbuenemann (Felix Bünemann)
Although I don't understand the Japanese, the linked issue, with a similar syntax to what Shel vacu proposed above, was rejected by Matz. So probably not too much hope on getting this into core…felixbuenemann (Felix Bünemann)
I am a great fan of the `Symbol#to_proc` shorthand when mapping or reducing collections: ```ruby [1,2,16].map(&:to_s) => ["1", "2", "16"] [1,2,16].reduce(&:*) => 32 ``` I often wish it would be possible to pass an argument to ...felixbuenemann (Felix Bünemann)
I think I'm getting the same crash in `gc_mark_ptr` with `ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]` when using the pg 0.18.4 gem and activerecord 4.2.4: ``` (lldb) target create "/Users/felix/.rvm/rubies/ruby-2.3.0/...felixbuenemann (Felix Bünemann)
Thank you! Please don't forget to also backport to ruby_2_1, because #11107 which caused this regression was backported to ruby_2_1 aswell.felixbuenemann (Felix Bünemann)