On Jan 9, 2011, at 1:44 PM, Gurkan Erdogdu wrote:

>>>> I think we only have the ProcessProducerMethod/Field tests to worry  about 
>>>> as 
>>>> far as tck compliance.
> 
> I have corrected those errors in OWB side.
> 
> For me, tomcat integration has passed TCK 1.0.4 CR2 with WebProfile.

This appears to work in geronimo also!!!!

many thanks
david jencks

> 
> Thanks;
> 
> --Gurkan
> 
> 
> 
> ----- Original Message ----
> From: David Jencks <david_jen...@yahoo.com>
> To: dev@openwebbeans.apache.org
> Sent: Sat, January 8, 2011 10:13:02 PM
> Subject: Re: Next steps with WebBeansContext?
> 
> with rev 1056785 all the standalone tck tests are passing for me so I think 
> we 
> only have the ProcessProducerMethod/Field tests to worry about as far as tck 
> compliance.
> 
> thanks
> david jencks
> 
> On Jan 8, 2011, at 10:43 AM, David Jencks wrote:
> 
>> I guess as a side effect of these changes in the last day when I run
>> 
>> mvn clean install -Ptck
>> 
>> locally I've gone from 23 to 1 failing test.   I suspect something in the 
>> app 
>> environment wasn't getting cleaned up appropriately.
>> 
>> thanks
>> david jencks
>> 
>> On Jan 8, 2011, at 3:25 AM, Mark Struberg wrote:
>> 
>>> great news!
>>> 
>>> LieGrue,
>>> strub
>>> 
>>> --- On Sat, 1/8/11, David Blevins <david.blev...@visi.com> wrote:
>>> 
>>>> From: David Blevins <david.blev...@visi.com>
>>>> Subject: Re: Next steps with WebBeansContext?
>>>> To: dev@openwebbeans.apache.org
>>>> Date: Saturday, January 8, 2011, 1:24 AM
>>>> On Thu, Jan 6, 2011 at 2:35 PM, David
>>>> Blevins <david.blev...@visi.com>
>>>> wrote:
>>>>> On Dec 31, 2010, at 1:31 PM, David Jencks wrote:
>>>>> 
>>>>>> Some of these ideas are implemented in the patch
>>>> attached to https://issues.apache.org/jira/browse/OWB-511
>>>>>> 
>>>>>> thanks
>>>>>> david jencks
>>>>>> 
>>>>>> On Dec 31, 2010, at 12:02 PM, David Jencks wrote:
>>>>>> 
>>>>>>> I looked at the WebBeansContext recently and
>>>> was a little surprised at what it does and doesn't do.  I
>>>> wonder if what I want it to do is what David Blevins was
>>>> thinking of as "next steps".
>>>>> 
>>>>> You pretty much got it.  The changes are a good next
>>>> step.  We still have a ways to go as in OpenWebBeans proper
>>>> (using the DefaultSingletonService) we still get most our
>>>> hits through the static access to ServiceLoader.
>>>>> 
>>>>> 68639 org.apache.webbeans.corespi.ServiceLoader
>>>>> 34129 org.apache.webbeans.util.AnnotationUtil
>>>>> 6063 org.apache.webbeans.util.WebBeansUtil
>>>>> 2170 org.apache.webbeans.test.TestContext
>>>>> 1832 org.apache.webbeans.component.AbstractOwbBean
>>>>> 1464
>>>> org.apache.webbeans.intercept.WebBeansInterceptorConfig
>>>>> 1402
>>>> org.apache.webbeans.inject.impl.InjectionPointFactory
>>>>> 1170
>>>> org.apache.webbeans.decorator.WebBeansDecoratorConfig
>>>> 
>>>> Nice, your last change got us down another 200 or so static
>>>> sync calls:
>>>> 
>>>> OWB-503 status: 565 code uses
>>>> Total of 94975 static synchronized accesses and
>>>> 95398 hashed calls
>>>> in 340 tests
>>>> Average of 279 static synchronized accesses and 280
>>>> hashed calls per test
>>>> 
>>>> The hashed calls count is no longer accurate as I haven't
>>>> updated my
>>>> tracking hooks to count the new services map, but the
>>>> static
>>>> synchronized is still good.
>>>> 
>>>> Here are the next top 10:
>>>> 
>>>> 65558 org.apache.webbeans.context.ContextFactory
>>>> 7976 org.apache.webbeans.util.WebBeansUtil
>>>> 2420
>>>> org.apache.webbeans.intercept.WebBeansInterceptorConfig
>>>> 2288 org.apache.webbeans.config.DefinitionUtil
>>>> 2178 org.apache.webbeans.test.TestContext
>>>> 1833 org.apache.webbeans.component.AbstractOwbBean
>>>> 1622 org.apache.webbeans.inject.impl.InjectionPointFactory
>>>> 1254 org.apache.webbeans.event.EventUtil
>>>> 1168 org.apache.webbeans.decorator.WebBeansDecoratorConfig
>>>> 940 org.apache.webbeans.deployment.StereoTypeModel
>>>> 
>>>> Just de-static'd the ContextFactory, and now we're down
>>>> another 200~ per test
>>>> 
>>>> OWB-503 status: 615 code uses
>>>> Total of 28894 static synchronized accesses and
>>>> 29317 hashed calls
>>>> in 340 tests
>>>> Average of 84 static synchronized accesses and 86
>>>> hashed calls per test
>>>> 
>>>> -David
>>>> 
>>> 
>>> 
>>> 
>> 
> 
> 

Reply via email to