出典:Wiktionary
出典:『Wiktionary』 (2017/04/03 19:30 UTC 版)
antideadlock (not comparable)
synchronized keyword is not necessarily a good thing. When a thread encounters a runtime exception while it is holding a lock, there's the possibility—indeed, the expectation—that it will leave the data it was manipulating in an inconsistent state.