-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework locking for Loom compatibility
* Change `synchronized` constructs that cover blocking code to use a shared `ReentrantLock` * Unify discrete locks among `ExtHandler` subclasses * Remove `protected` `outputLock` object which was used for synchronization among subclasses of `WriterHandler` and replace with shared `lock` * Protect `setCharset` with lock to retain behavior of `java.util.logging.Handler` * Shadow private fields from `j.u.l.Handler` which are protected by `synchronized` in that class * Replace tree lock with `ReentrantLock`
- Loading branch information
Showing
13 changed files
with
423 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.