| Summary: | DeploymentDescriptorPropertyCache can enter an infinite loop | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Nick Sandonato <nsand.dev> | ||||
| Component: | jst.jsp | Assignee: | Nick Sandonato <nsand.dev> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | digulla | ||||
| Version: | 3.2 | Flags: | thatnitind:
review+
|
||||
| Target Milestone: | 3.2.1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | WI 49990 | ||||||
| Attachments: |
|
||||||
|
Description
Nick Sandonato
Created attachment 172237 [details]
patch
Allowing threads to access the map more safely.
Patch released to maintenance and HEAD. Probably related: I just got a deadlock in HashMap.get()
"Worker-8" prio=10 tid=0x00000000477b9000 nid=0x525b runnable [0x00007f97353c1000]
java.lang.Thread.State: RUNNABLE
at java.util.HashMap.get(HashMap.java:303)
at org.eclipse.jst.jsp.core.internal.contenttype.DeploymentDescriptorPropertyCache.getWebXMLPath(DeploymentDescriptorPropertyCache.java:924)
- locked <0x00000000cf3b50d0> (a java.lang.Object)
at org.eclipse.jst.jsp.core.internal.contenttype.DeploymentDescriptorPropertyCache.getCachedDescriptor(DeploymentDescriptorPropertyCache.java:800)
at org.eclipse.jst.jsp.core.internal.contenttype.DeploymentDescriptorPropertyCache.getPropertyGroups(DeploymentDescriptorPropertyCache.java:873)
This is with the plugin org.eclipse.jst.jsp.core_1.2.400.v201105162116.jar which comes with 3.7. From the qualifier, I guess the fix isn't included.
|