Mark jd_head, jd_root_exception as thread local.