• cmiller@zippy.cornsilk.net's avatar
    Backport: · 9816842b
    cmiller@zippy.cornsilk.net authored
    B-g#24795: SHOW PROFILE implementation
    
    Don't use memory roots to store profiling information, because
    memory roots make freeing the data a no-op, and thus long-running
    processes with profiling turned on the whole time could eventually 
    use all available memory.
    
    Instead, use regular heap allocation and deallocation calls to 
    manage profiling data.  Replace the leaky List usage with a similar-
    behaving structure named "Queue".
    9816842b
sql_profile.cc 22.4 KB