General

Profile

hongli (Hongli Lai)

  • Login: hongli
  • Email: [email protected]
  • Registered on: 08/25/2008
  • Last sign in: 12/28/2023

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 11 11

Activity

12/28/2023

02:09 PM Ruby Feature #15667: Introduce malloc_trim(0) in full gc cycles
It looks like this ticket can be closed. I see that Ruby 3.3 makes use of malloc_trim. hongli (Hongli Lai)

10/13/2017

08:49 PM Ruby Bug #14009: macOS High Sierra and “fork” compatibility
Regarding nobu's comment on whether linkers can ignore "useless" library links (comment #8): yes they can, but both on GNU/Linux systems as well as on macOS, this behavior is at present not the default.
On GNU systems, [--as-needed](h...
hongli (Hongli Lai)
06:02 AM Ruby Bug #14009: macOS High Sierra and “fork” compatibility
nobu (Nobuyoshi Nakada) wrote:
> Does linking `Foundation` framework instead of `CoreFoundation` framework work?
According to my tests on High Sierra, linking to Foundation helps, but linking to CoreFoundation does not. CoreFoundatio...
hongli (Hongli Lai)

10/12/2017

08:18 PM Ruby Bug #14009: macOS High Sierra and “fork” compatibility
Perhaps it helps if I further clarify this issue for those who are unfamiliar with it.
As you probably already know, forking (but without exec'ing) in a multithreaded environment is inherently dangerous and the environment must be car...
hongli (Hongli Lai)

01/05/2015

12:04 PM Ruby Bug #10656: mkmf have_func fails if Ruby is compiled with static libruby
You were right. I've fixed this in Passenger 4.0.57. Thanks Nobuyoshi. hongli (Hongli Lai)

12/30/2014

09:52 AM Ruby Bug #10656: mkmf have_func fails if Ruby is compiled with static libruby
Hm, I see. We clear $LIBS in order to fix https://github.com/phusion/passenger/issues/168, but that may be interfering. Let me investigate this further. hongli (Hongli Lai)

12/26/2014

05:36 PM Ruby Bug #10656 (Third Party's Issue): mkmf have_func fails if Ruby is compiled with static libruby
If Ruby is compiled with static libruby, then mkmf have_func calls will fail. This is because have_func tries to compile a binary, passing -lruby-static to the compiler. However this fails because binary also needs to be linked to a bunc... hongli (Hongli Lai)

01/14/2011

04:29 AM Ruby Feature #4265: Provide a core method Kernel#ruby for invoking a new Ruby instance
=begin
Do you really need a core method for this? People can just copy-paste the code we use in Phusion Passenger for locating the current Ruby. We even have RVM support. https://github.com/FooBarWidget/passenger/blob/6a5d5b2e502823208a...
hongli (Hongli Lai)

04/15/2010

06:39 PM Ruby Bug #3150 (Third Party's Issue): net/https peer verification doesn't do anything
=begin
Setting verify_mode to VERIFY_PEER should make net/https raise an exception if peer certificate verification fails. For example:

require 'net/http'
require 'net/https'
require 'openssl'

url = URI.parse(...
hongli (Hongli Lai)

03/20/2010

08:11 PM Ruby Bug #2629: ConditionVariable#wait(mutex, timeout) should return whether the condition was signalled, not the waited time
=begin
I guess you are right.
=end
hongli (Hongli Lai)

Also available in: Atom