mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-04 16:15:25 +00:00
b2eea2f3d4
Unsynchronized ScriptableObject.getSlotToSet contains references/modifications to the slots array which is no go under multithreading. The attached patch replaces references to slots by references to its local copy and moves code to allocate the initial array to synchronized addSlot. The patch also replace throwing of RuntimeException in case of broken code by if (Context.check && badCondition) Context.codeBug(); Regards, Igor |
||
---|---|---|
.. | ||
benchmarks | ||
js2 | ||
jsd | ||
jsdj | ||
jsj | ||
macbuild | ||
ref | ||
rhino | ||
src | ||
tests | ||
.cvsignore | ||
landbranch.pl | ||
Makefile.in | ||
makefile.win |