Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ruby_upb_alloc using xrealloc/xfree so Ruby GC is aware of allocated memory for Arenas. #9586

Merged
merged 5 commits into from Mar 8, 2022

Commits on Mar 4, 2022

  1. Add ruby-specific upb_alloc using xrealloc/xfree for use in Arena_all…

    …oc so Ruby GC is aware of allocated memory.
    zhangskz committed Mar 4, 2022
    Copy the full SHA
    0d1f364 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    87967cc View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2022

  1. Add RB_GC_GUARD to ensure ruby does not aggressively garbage collect …

    …arena_rb due to lack of references, when memory is still used by file_proto
    zhangskz committed Mar 8, 2022
    Copy the full SHA
    d45843a View commit details
    Browse the repository at this point in the history
  2. Enable GC.stress in gc_test for ruby 2.7. This was previously disable…

    …d due to a ruby GC bug which has since been closed: https://bugs.ruby-lang.org/issues/16807
    zhangskz committed Mar 8, 2022
    Copy the full SHA
    f4fed16 View commit details
    Browse the repository at this point in the history
  3. Undo previous commit that enabled gc.stress for ruby 2.7. Though the …

    …issue is theoretically fixed (probably at a different version), Kokoro uses 2.7.0 and fails
    zhangskz committed Mar 8, 2022
    Copy the full SHA
    79bb0af View commit details
    Browse the repository at this point in the history