jruby - ScriptingContainer, Ruby Runtime and Variable Map -


(crossposting note: question has been posted @ jruby mailing list (jruby@ruby-lang.org) on december 20 , on jruby forum on january 2nd, hasn't got response yet).

this question understanding impact of localcontextscope parameter in presence of multi-threading.

we can find @ jruby wiki recipe helps choosing best value localcontextscope parameter. page explains, parameter controls, whether scriptingcontainer and/or ruby runtime and/or variable map shared among threads. however, deeper understanding issue, in particular, part of "system" implemented in 1 of 3 components.

as concrete example: when create global variables in ruby, or new classes, or functions , variables in top level context, belong scriptingcontainer, runtime, or variable map? unless knowing this, don't know localcontextscope have use.


Comments

Popular posts from this blog

c# - Can I intercept a SOAP response in .NET before a content type binding mismatch ProtocolException? -

python - Terminate a gnome-terminal opened with subprocess -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -