whoops, lock_ should be passed in here
remove global_serial
remove inc_global_serial primitive
teach the JIT about constant name serials