Skip to content
This repository has been archived by the owner on Jan 6, 2020. It is now read-only.

garbage collector doesn't track natively allocated as gray node #26

Closed
ffwff opened this issue Jun 6, 2019 · 0 comments
Closed

garbage collector doesn't track natively allocated as gray node #26

ffwff opened this issue Jun 6, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@ffwff
Copy link
Owner

ffwff commented Jun 6, 2019

function main() begin
    args = Sys::args()
    inf = ""
    for i=0 to 2 then inf += 'a'
    chars = inf.chars()
    s = 'a' + 'b'
end

main()

The garbage collector doesn't track the array allocated by String::chars as a gray node. valgrind shows 3 errors from 3 contexts.

@ffwff ffwff added the bug Something isn't working label Jun 6, 2019
@ffwff ffwff closed this as completed in 9a11fa2 Jun 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant