7 ms·
- Extend the time code spends in a synchronized block - Throw OutOfMemoryException randomly
by rzzzt 10y ago
- Extend the time code spends in a synchronized block
- Throw OutOfMemoryException randomly
- probablyfine 10y agoPausing 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" :)