Remove deep synchronisation that is a very plausible cause of circular locking.

This may be a fix for #685
This commit is contained in:
dordsor21 2020-10-07 15:52:48 +01:00
parent f71ca32140
commit def986710f
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -17,7 +17,7 @@ public abstract class CharBlocks implements IBlocks {
};
public static final Section EMPTY = new Section() {
@Override
public synchronized final char[] get(CharBlocks blocks, int layer) {
public final char[] get(CharBlocks blocks, int layer) {
char[] arr = blocks.blocks[layer];
if (arr == null) {
arr = blocks.blocks[layer] = blocks.update(layer, null);