Problems scaling jl_alloc_array_2d C API

I ran with GOMAXPROCS=1, which should limit execution of Go binary to 1 thread, but the code still hung up with large arrays. Any thoughts on how to go about verifying if this is thread safety issue or something else?

hi @yuyichao , wondering if you have recommendations on best way to consume C API? thanks.