// get SSJ's current contexts
// get thread local state (InheritableThreadLocal)
CurrentImpl.ThreadLocals threadLocals = current.getThreadLocals();
// get or initialize call context
CallContextImpl callCtx = (CallContextImpl)threadLocals.callContext;
if (callCtx == null){
callCtx = new CallContextImpl(new HashMap(5), new HashMap(5));
threadLocals.callContext = callCtx;
}
return callCtx;
}