Details

    • Steps to Reproduce:
      Hide

      Requires load with lots of threads to get the contention. We're experiencing in our automated system testing environment where we run several hundred test with about 20 of them parallel at a time.

      Show
      Requires load with lots of threads to get the contention. We're experiencing in our automated system testing environment where we run several hundred test with about 20 of them parallel at a time.
    • Workaround Description:
      Hide

      Restart the server

      Show
      Restart the server

      Description

      In our automated system testing environment we are seeing hash map access contention. The thread locks trying to get the HashMap value. Some get through some don't. Those that fail throw the following exception:

      at java.util.HashMap.getEntry(HashMap.java:446):446
      at java.util.HashMap.containsKey(HashMap.java:434):434
      at java.util.HashSet.contains(HashSet.java:201):201
      at railo.runtime.type.util.KeyConstants.getFieldName(KeyConstants.java:837):837
      at railo.transformer.bytecode.expression.var.Variable.registerKey(Variable.java:254):254
      at railo.transformer.bytecode.expression.var.Variable.registerKey(Variable.java:243):243
      at railo.transformer.bytecode.expression.var.Variable._writeOutFirstDataMember(Variable.java:443):443
      at railo.transformer.bytecode.expression.var.Variable._writeOutFirst(Variable.java:318):318
      at railo.transformer.bytecode.expression.var.Variable._writeOut(Variable.java:187):187
      at railo.transformer.bytecode.expression.var.Variable._writeOut(Variable.java:168):168
      at railo.transformer.bytecode.expression.ExpressionBase.writeOut(ExpressionBase.java:34):34
      at railo.transformer.bytecode.op.OPDecision._writeOut(OPDecision.java:87):87
      at railo.transformer.bytecode.expression.ExpressionBase.writeOut(ExpressionBase.java:34):34
      at railo.transformer.bytecode.statement.tag.TagIf.writeOutElseIfStart(TagIf.java:69):69
      at railo.transformer.bytecode.statement.tag.TagIf._writeOut(TagIf.java:35):35
      at railo.transformer.bytecode.statement.StatementBase.writeOut(StatementBase.java:54):54
      at railo.transformer.bytecode.BodyBase.writeOut(BodyBase.java:177):177
      at railo.transformer.bytecode.BodyBase._writeOut(BodyBase.java:114):114
      at railo.transformer.bytecode.statement.StatementBase.writeOut(StatementBase.java:54):54
      at railo.transformer.bytecode.statement.tag.TagLoop.writeOutTypeIndex(TagLoop.java:740):740
      at railo.transformer.bytecode.statement.tag.TagLoop._writeOut(TagLoop.java:259):259
      at railo.transformer.bytecode.statement.StatementBase.writeOut(StatementBase.java:54):54
      at railo.transformer.bytecode.BodyBase.writeOut(BodyBase.java:177):177
      at railo.transformer.bytecode.BodyBase._writeOut(BodyBase.java:114):114
      at railo.transformer.bytecode.statement.StatementBase.writeOut(StatementBase.java:54):54
      at railo.transformer.bytecode.statement.tag.TagOutput.writeOutTypeNormal(TagOutput.java:95):95
      at railo.transformer.bytecode.statement.tag.TagOutput._writeOut(TagOutput.java:66):66
      at railo.transformer.bytecode.statement.StatementBase.writeOut(StatementBase.java:54):54
      at railo.transformer.bytecode.BodyBase.writeOut(BodyBase.java:177):177
      at railo.transformer.bytecode.Page.writeOutCallBody(Page.java:1308):1308
      at railo.transformer.bytecode.Page.writeOutCall(Page.java:1267):1267
      at railo.transformer.bytecode.Page.execute(Page.java:492):492
      at railo.runtime.compiler.CFMLCompilerImpl.compile(CFMLCompilerImpl.java:57):57
      at railo.runtime.PageSourceImpl._compile(PageSourceImpl.java:285):285
      at railo.runtime.PageSourceImpl.compile(PageSourceImpl.java:266):266
      at railo.runtime.PageSourceImpl.loadPhysical(PageSourceImpl.java:225):225
      at railo.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:154):154
      at railo.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:884):884
      at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:798):798
      at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:749):749

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                mying_switchfly_com Martin Ying
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: