Hi I see a lot of thread blocked at
java.lang.Thread.State: BLOCKED (on object monitor) at org.h2.store.fs.FileBase.read(FileBase.java:39) - waiting to lock <0x00000006f1dfcdd0> (a org.h2.store.fs.FileSplit) at org.h2.mvstore.DataUtils.readFully(DataUtils.java:421) at org.h2.mvstore.FileStore.readFully(FileStore.java:98) at org.h2.mvstore.Page.read(Page.java:190) at org.h2.mvstore.MVStore.readPage(MVStore.java:1952) at org.h2.mvstore.MVMap.readPage(MVMap.java:800) at org.h2.mvstore.Page.getChildPage(Page.java:217) at org.h2.mvstore.MVMap.binarySearch(MVMap.java:489) at org.h2.mvstore.MVMap.binarySearch(MVMap.java:490) at org.h2.mvstore.MVMap.binarySearch(MVMap.java:490) at org.h2.mvstore.MVMap.get(MVMap.java:471) at org.h2.mvstore.db.TransactionStore$TransactionMap.getValue(TransactionStore.java:1036) - locked <0x00000006f1dd0608> (a org.h2.mvstore.MVMap) at org.h2.mvstore.db.TransactionStore$TransactionMap.get(TransactionStore.java:1013) at org.h2.mvstore.db.TransactionStore$TransactionMap.get(TransactionStore.java:981) at org.h2.mvstore.db.MVPrimaryIndex.getRow(MVPrimaryIndex.java:215) at org.h2.mvstore.db.MVTable.getRow(MVTable.java:463) at org.h2.mvstore.db.MVSecondaryIndex$MVStoreCursor.get(MVSecondaryIndex.java:489) at org.h2.index.IndexCursor.get(IndexCursor.java:288) at org.h2.table.TableFilter.get(TableFilter.java:594) at org.h2.command.dml.Update.update(Update.java:109) Why the read() method is synchronized? May be it would be better to use java.util.concurrent.locks.ReadWriteLock? -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
