Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rzzzt
· 10y ago · 0 comments
- Extend the time code spends in a synchronized block
- Throw OutOfMemoryException randomly
Comments
[–]
probablyfine
10y ago
Pausing within a synchronized block to exaggerate slowdown sounds really interesting - and would provide a great opportunity to learn about how locking works "under the hood" :)