зеркало из https://github.com/mozilla/pjs.git
f897328529
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 | ||
Makefile.in | ||
landbranch.pl | ||
makefile.win |