[MAYAA-21] Specification#kill() が呼ばれるタイミングで deadlock が発生する Created: 02/Mar/07  Updated: 02/Mar/07  Resolved: 02/Mar/07

Status: Resolved
Project: Mayaa
Component/s: Mayaa
Affects Version/s: 1.1.5
Fix Version/s: 1.1.7

Type: Bug Priority: Major
Reporter: suga Assignee: suga
Resolution: Fixed Votes: 0
Labels: None
Environment:

JDK 1.5.0_b10


Attachments: Text File thread-dump.txt    

 Description   

[mayaa-user:478] mayaa 1.1.5 でデッドロック

"TP-Processor91":
waiting to lock monitor 0x0000000040136080 (object 0x0000002aaf44e6f8, a org.seasar.mayaa.impl.engine.SpecificationCache),
which is held by "ReferenceCache Sweep Monitor"
"ReferenceCache Sweep Monitor":
waiting to lock monitor 0x0000000040136170 (object 0x0000002aaf74b770, a java.util.LinkedHashMap),
which is held by "TimeredSweepThread"
"TimeredSweepThread":
waiting to lock monitor 0x0000000040137520 (object 0x0000002ab8158490, a org.seasar.mayaa.impl.engine.processor.InsertProcessor),
which is held by "TP-Processor61"
"TP-Processor61":
waiting to lock monitor 0x00000000401372c8 (object 0x0000002aae85ed30, a org.seasar.mayaa.impl.engine.EngineImpl),
which is held by "TP-Processor91"



 Comments   
Comment by suga [ 02/Mar/07 ]

rev.2903
GCされるタイミングの処理を単純化し、余分なsynchronizedを排除しました。

Generated at Tue Mar 26 18:55:06 JST 2019 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.