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

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 [ 2007-03-02 ]

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

Generated at Fri Apr 26 12:47:47 JST 2024 using Jira 9.15.0#9150000-sha1:9ead8528714127d8cfabf2446010d7e62c0a195c.