myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias We├čendorf (JIRA) <...@myfaces.apache.org>
Subject [jira] Commented: (TRINIDAD-1126) Contention at java.util.regex.Pattern.matcher.
Date Wed, 02 Jul 2008 15:21:46 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609951#action_12609951
] 

Matthias We├čendorf commented on TRINIDAD-1126:
----------------------------------------------

Well, for what it's worth...
This problem is not present in Apache Harmony.

See:
http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/regex/src/main/java/java/util/regex/Pattern.java?revision=662950&view=markup

> Contention at java.util.regex.Pattern.matcher.
> ----------------------------------------------
>
>                 Key: TRINIDAD-1126
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1126
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions:  1.2.8-core
>            Reporter: Yuvaraja Srinivasan
>            Priority: Minor
>
> Hi , 
> We have carried 100users /5task scalability run and Observed  contention 
> issue from the 
> following callstack.
> "HTTPThreadGroup-43" prio=10 tid=0x637a0c20 nid=0x20bf8 waiting for monitor entry [0x6908d000..0x6908fb14]
> 	at java.util.regex.Pattern.matcher(Pattern.java:875)
> 	- waiting to lock <0x198b3848> (a java.util.regex.Pattern)
> 	at org.apache.myfaces.trinidadinternal.style.util.StyleUtils.convertToValidSelector(StyleUtils.java:50)
> 	at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderingContext.getStyleClass(CoreRenderingContext.java:305)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.renderStyleClass(CoreRenderer.java:643)
> 	at oracle.adf.view.rich.render.RichRenderer.renderStyleClass(RichRenderer.java:2002)
> 	at oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectShuttleRenderer._renderShuttleHeader(SimpleSelectShuttleRenderer.java:1104)
> 	at oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectShuttleRenderer._encodeSelectItemsContainer(SimpleSelectShuttleRenderer.java:666)
> 	at oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectShuttleRenderer.encodeElementContent(SimpleSelectShuttleRenderer.java:403)
> 	at oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectBaseRenderer._renderContent(SimpleSelectBaseRenderer.java:214)
> 	at oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectBaseRenderer.renderElementContent(SimpleSelectBaseRenderer.java:112)
> 	at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.encodeAllAsElement(FormInputRenderer.java:129)
> 	at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.encodeAll(FormElementRenderer.java:133)
> 	at oracle.adf.view.rich.render.RichRenderer.delegateRenderer(RichRenderer.java:1070)
> 	at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.renderFieldCellContents(LabeledInputRenderer.java:172)
> 	at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.encodeAll(LabeledInputRenderer.java:154)
> 	at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1034)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:224)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:304)
> 	at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:372)
> 	at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
> 	at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:621)
> 	at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:540)
> 	at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:111)
> 	at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
> 	at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:153)
> 	at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:292)
> 	at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1034)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:224)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1339)
> 	at org.apache.myfaces.trinidad.component.UIXSwitcher.encodeChildren(UIXSwitcher.java:154)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:291)
> 	at org.apache.myfaces.trinidadinternal.renderkit.html.RowLayoutRenderer.encodeChild(RowLayoutRenderer.java:116)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:321)
> 	at org.apache.myfaces.trinidadinternal.renderkit.html.RowLayoutRenderer.encodeAll(RowLayoutRenderer.java:88)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:224)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:304)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:321)
> 	at org.apache.myfaces.trinidadinternal.renderkit.html.TableLayoutRenderer.encodeAll(TableLayoutRenderer.java:87)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:224)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:304)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:321)
> 	at oracle.adfinternal.view.faces.renderkit.rich.PanelWindowRenderer.encodeContent(PanelWindowRenderer.java:288)
> 	at oracle.adfinternal.view.faces.renderkit.rich.PanelWindowRenderer.encodeAll(PanelWindowRenderer.java:211)
> 	at oracle.adfinternal.view.faces.renderkit.rich.DialogRenderer.encodeAll(DialogRenderer.java:136)
> 	at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1034)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:224)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:304)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:321)
> 	at oracle.adfinternal.view.faces.renderkit.rich.PopupRenderer.encodeAll(PopupRenderer.java:315)
> 	at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1034)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:224)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:304)
> 	at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:372)
> 	at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
> 	at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:621)
> 	at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:540)
> 	at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:111)
> 	at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
> 	at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:153)
> 	at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:292)
> 	at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1034)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:224)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:304)
> 	at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:372)
> 	at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
> 	at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:621)
> 	at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:540)
> 	at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:111)
> 	at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
> 	at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:153)
> 	at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:292)
> 	at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1034)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:224)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:304)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:321)
> 	at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:164)
> 	at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1034)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:224)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:304)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:321)
> 	at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:692)
> 	at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1034)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:224)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1339)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)
> 	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
> 	at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:273)
> 	at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:204)
> 	at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
> 	at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:176)
> 	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:652)
> 	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:243)
> 	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:203)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
> 	at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
> 	at oracle.bpel.worklistapp.SessionTimeoutFilter.doFilter(SessionTimeoutFilter.java:141)
> 	at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
> 	at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
> 	at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
> 	at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
> 	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:278)
> 	at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:76)
> 	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:278)
> 	at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:86)
> 	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:278)
> 	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)
> 	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)
> 	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
> 	at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
> 	at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
> 	at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:474)
> 	at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
> 	at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:351)
> 	at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:977)
> 	at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:878)
> 	at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:676)
> 	at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:644)
> 	at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:436)
> 	at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:185)
> 	at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:153)
> 	at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:276)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> 	at java.lang.Thread.run(Thread.java:595)
> "HTTPThreadGroup-42" prio=10 tid=0x6382ba28 nid=0x20bf4 waiting on condition [0x6904f000..0x6904fb94]
> 	at sun.misc.Unsafe.park(Native Method)
> 	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:146)
> 	at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireNanos(AbstractQueuedSynchronizer.java:772)
> 	at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireNanos(AbstractQueuedSynchronizer.java:1087)
> 	at java.util.concurrent.SynchronousQueue$Node.waitForPut(SynchronousQueue.java:291)
> 	at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:443)
> 	at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:475)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:674)
> 	at java.lang.Thread.run(Thread.java:595)
> "HTTPThreadGroup-41" prio=10 tid=0x6ae3cce0 nid=0x20bf0 waiting on condition [0x68d8f000..0x68d8fc14]
> 	at sun.misc.Unsafe.park(Native Method)
> 	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:146)
> 	at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireNanos(AbstractQueuedSynchronizer.java:772)
> 	at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireNanos(AbstractQueuedSynchronizer.java:1087)
> 	at java.util.concurrent.SynchronousQueue$Node.waitForPut(SynchronousQueue.java:291)
> 	at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:443)
> 	at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:475)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:674)
> 	at java.lang.Thread.run(Thread.java:595)
> Thanks
> Ramesh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message