谁能帮我看下下面的异常是什么意思,谢谢了
Exception in thread "Thread-1" java.lang.Error: Maximum lock count exceeded
at java.util.concurrent.locks.ReentrantLock$Sync.nonfairTryAcquire(ReentrantLock.java:141)
at java.util.concurrent.locks.ReentrantLock$NonfairSync.tryAcquire(ReentrantLock.java:213)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1198)
at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:209)
at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:285)
at cn.program.thread.Goods.set(Producer.java:30)
at cn.program.thread.Producer.run(Producer.java:96)
at java.lang.Thread.run(Thread.java:745)
|
|