Skip to content
This repository has been archived by the owner on Aug 26, 2023. It is now read-only.

Register all global VALUES as mark objects #150

Merged
merged 1 commit into from Nov 20, 2020

Commits on Nov 17, 2020

  1. Register all global VALUES as mark objects

    Previously it was possible for these objects to be garbage collected
    (the constants could be unassigned in Ruby) or moved as part of GC
    compaction (reproducible with GC.verify_compaction_references).
    
    This commit marks all the global variables in nokogumbo.c using
    rb_gc_register_mark_object to ensure that they can't be moved.
    jhawthorn committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    d339234 View commit details
    Browse the repository at this point in the history