[racket-dev] futures waiting for scheme_make_envunbox

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Aug 25 09:56:21 EDT 2010

At Wed, 25 Aug 2010 09:42:40 -0400, Sam Tobin-Hochstadt wrote:
> While trying to use futures to parallelize a simple piece of code, I
> was able to remove all of the waiting except for this:
> 
> future: 3 waiting for runtime at 1282743524205.783936: [scheme_make_envunbox]
> 
> which happens continuously.  What causes this function to be invoked,
> and how can I eliminate it?

It happens when initializing a local variable that is assigned via
`set!'. Probably we should inline scheme_make_envunbox() in
JIT-generated code.



Posted on the dev mailing list.