[ 
https://issues.apache.org/jira/browse/FELIX-3553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504687#comment-13504687
 ] 

Ulf Lilleengen edited comment on FELIX-3553 at 11/27/12 3:55 PM:
-----------------------------------------------------------------

I made a similar patch against 4.0.3 that we are testing out now, that tries to 
improve the attached patch(new patch attached):

- Properly signal that lock was removed from map using notifyAll
- Replaces the map with a set, and simplify/fix logic in the check. I think its 
a bit easier to understand at least.

It also:
- Adds registerAsParallelCapable
- Makes bundleclassloader and bundleclassloader5 static (I just used intellij's 
'make static' to get this done)

Still unresolved:
- Handling interruptedexception.

Let me know if you can review it, or if I should try produce a patch against 
trunk. Btw, if you have any stress tests that can easily reproduce the deadlock 
issues, that would also be very helpful. We are able to reproduce it, but it 
requires a lot of effort in terms of patching our system.

Thanks
                
      was (Author: lulf):
    I made a similar patch against 4.0.3 that we are testing out now, that 
tries to improve the attached patch(new patch attached):

- Properly signal that lock was removed from map using notifyAll
- Replaces the map with a set, and simplify/fix logic in the check. I think its 
a bit easier to understand at least.

It also:
- Adds registerAsParallelCapable
- Makes bundleclassloader and bundleclassloader5 static (I just used intellij's 
'make static' to get this done)

Still unresolved:
- Handling interruptedexception.

Let me know if you can review it, or if I should try produce a patch against 
trunk. Btw, if you have any stress tests that can easily reproduce the deadlock 
issues, that would also be very helpful.

Thanks
                  
> Use of parallel class loading capability of JDK7
> ------------------------------------------------
>
>                 Key: FELIX-3553
>                 URL: https://issues.apache.org/jira/browse/FELIX-3553
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>            Reporter: Sahoo
>             Fix For: framework-4.2.0
>
>         Attachments: FELIX-3553.txt, felix_parallel_classloading.patch
>
>
> Is there any plan to make use of this feature [1] in Felix?
> [1] 
> http://download.java.net/jdk7/archive/b124/docs/technotes/guides/lang/cl-mt.html
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to