PR163: descriptor_params_from_paramtypes is protected by a mutex now (per descriptor...
authorStefan Ring <stefan@complang.tuwien.ac.at>
Thu, 1 Dec 2011 11:45:42 +0000 (12:45 +0100)
committerStefan Ring <stefan@complang.tuwien.ac.at>
Thu, 1 Dec 2011 11:45:42 +0000 (12:45 +0100)
commit4e25f6be9878154a9a7ae28917ed34427cb8ca6a
tree554f12ee427bbca85cfa9a1eb713e5aa19262791
parent00f70baa559d938988363d68f416f684760d92a2
PR163: descriptor_params_from_paramtypes is protected by a mutex now (per descriptor pool).
By careful use of StoreStore and ReadRead memory barriers, we could also use a
kind of double-checked locking on the params field, but the potential
performance gain is definitely not worth the trouble (and risk).
src/vm/descriptor.cpp
src/vm/descriptor.hpp
src/vm/jit/optimizing/bytecode_escape.c
src/vm/jit/parse.cpp
src/vm/jit/verify/typecheck-common.cpp
src/vm/jit/verify/typecheck-invoke.inc
src/vm/jit/verify/typecheck-stackbased.cpp
src/vm/loader.cpp
src/vm/method.cpp
src/vm/resolve.cpp