groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From divijvaidya13@gmail.com <divijvaidy...@gmail.com>
Subject Re: Thread contention on GroovyClassLoader sourceCache
Date Wed, 28 Feb 2018 00:40:38 GMT
Thanks Daniel.

Would it be possible to backport this particular commit to 2.4.x branch? Can you please point
me to the commit where you made the change?

On 2018/02/24 03:02:28, Daniel Sun <realbluesun@hotmail.com> wrote: 
> Hi Divij,
> 
>      `ConcurrentHashMap` does not provide atomic operation(e.g.
> check-and-put) util Java8. So I have achieved a fine-grained access control
> to these caches[1], which is available in 2.5+. 2.5 beta-3[2] is out and RC
> will be released soon, so please give it a try :)
> 
> Cheers,
> Daniel.Sun
> 
> [1]
> https://github.com/apache/groovy/blob/GROOVY_2_5_X/src/main/groovy/groovy/lang/GroovyClassLoader.java#L105
> [2]
> https://dl.bintray.com/groovy/maven/apache-groovy-binary-2.5.0-beta-3.zip
> 
> 
> 
> --
> Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
> 

Mime
View raw message