<div dir="ltr"><div>$B@P>e$G$9!#(B</div><div>$B$$$D$b$*@$OC$K$J$C$F$*$j$^$9!#(B</div><div><br></div><div>$B;d$N=j$G!"(BMayaa$B$rMxMQ$5$;$F$$$?$@$$$F$$$k%5!<%S%9$N(B</div><div>$B%9%l%C%I%@%s%W$r2r@O$7$F$$$?$H$3$m!"(B</div><div style>HashMap$B$N%3%s%+%l%s%H$NIT6q9g$i$7$-2U=j$,8+<u$1$i$l$?$?$a!"(B</div><div style>$BJs9pCW$7$^$9!#(B</div><div><br>

</div><div>$B%9%l%C%I%@%s%W$K$O0J2<$N%9%?%C%/%H%l!<%9$,J#?t8+$i$l$^$7$?(B</div><div><br></div><div><div>&quot;TP-Processor218&quot; daemon prio=1 tid=0x00007f04281c59e0 nid=0x5e52 runnable [0x00007f0407dfa000..0x00007f0407dfc890]</div><div><span class="" style="white-space:pre">        </span>at org.apache.commons.collections.map.AbstractHashedMap.getEntry(AbstractHashedMap.java:433)</div>

<div><span class="" style="white-space:pre">        </span>at org.apache.commons.collections.map.AbstractReferenceMap.getEntry(AbstractReferenceMap.java:404)</div><div><span class="" style="white-space:pre">        </span>at org.apache.commons.collections.map.AbstractReferenceMap.get(AbstractReferenceMap.java:229)</div>

<div><span class="" style="white-space:pre">        </span>at org.seasar.mayaa.impl.engine.specification.QNameImpl.getInstance(QNameImpl.java:51)</div><div><span class="" style="white-space:pre">        </span>at org.seasar.mayaa.impl.engine.specification.SpecificationUtil.createQName(SpecificationUtil.java:246)</div>

<div><span class="" style="white-space:pre">        </span>at org.seasar.mayaa.impl.engine.specification.SpecificationUtil.createQName(SpecificationUtil.java:241)</div><div><span class="" style="white-space:pre">        </span>at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)</div>

<div><span class="" style="white-space:pre">        </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</div><div><span class="" style="white-space:pre">        </span>at java.lang.reflect.Method.invoke(Method.java:585)</div>

<div><span class="" style="white-space:pre">        </span>at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)</div></div><div><br></div><div><br></div><div>QNameImpl.java:51$B$r3NG'$5$;$F$$$?$@$$$?$H$3$m(B<br></div><div><br></div><div>

<div>&nbsp; &nbsp; &nbsp; &nbsp; // $B0l;~E*$K=EJ#$7$F$bLdBj$J$$$N$GB.EY$rM%@h$9$k!#!J(Bsynchronize$B$r30$7$?!K(B</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QName result = (QName)_cache.get(key);</div></div><div><br></div><div>$B$H$$$&5-:\$,$"$j$^$9!#(B</div><div style>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;_cache</div><div style>$B$NDj5A$O(B</div><div style>

<div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;private static volatile Map _cache =</div><div>&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; new ReferenceMap(AbstractReferenceMap.HARD, AbstractReferenceMap.SOFT, true);</div><div>$B$H$J$C$F$*$j$^$9!#(B</div><div><br></div><div>$B$3$3$G!"(BReferenceMap$B$N(BJavaDoc$B$r;2>H$7$?$H$3$m(B</div>

<div><a href="http://commons.apache.org/collections/api-3.1/org/apache/commons/collections/map/ReferenceMap.html">http://commons.apache.org/collections/api-3.1/org/apache/commons/collections/map/ReferenceMap.html</a><br>
</div>
<div><br></div><div><span style="color:rgb(0,0,0);font-family:&#39;MS PGothic&#39;;font-size:medium">This implementation is not synchronized. You can use&nbsp;</span><a href="http://java.sun.com/j2se/1.3/docs/api/java/util/Collections.html#synchronizedMap" style="color:rgb(12,18,110);font-family:&#39;MS PGothic&#39;;font-size:medium"><code>Collections.synchronizedMap</code></a><span style="color:rgb(0,0,0);font-family:&#39;MS PGothic&#39;;font-size:medium">&nbsp;to provide synchronized access to a&nbsp;</span><code style="color:rgb(0,0,0)">ReferenceMap</code><span style="color:rgb(0,0,0);font-family:&#39;MS PGothic&#39;;font-size:medium">. Remember that synchronization will not stop the garbage collecter removing entries.</span><br>

</div><div><span style="color:rgb(0,0,0);font-family:&#39;MS PGothic&#39;;font-size:medium"><br></span></div><div><span style="color:rgb(0,0,0);font-family:&#39;MS PGothic&#39;;font-size:medium">$B$H$$$&5-:\$5$l$F$$$^$9!#(B</span></div>
<div>
<span style="color:rgb(0,0,0);font-family:&#39;MS PGothic&#39;;font-size:medium"><br></span></div><div><span style="color:rgb(0,0,0);font-family:&#39;MS PGothic&#39;;font-size:medium">$B%Q%U%)!<%^%s%9$K$D$$$F%;%s%7%F%#%V$JItJ,$H;W$$$^$9$,!"(B</span><br>

</div><div><font color="#000000" face="MS PGothic" size="3">$B$43NG'$$$?$@$1$^$;$s$G$7$g$&$+!)(B</font></div><div><font color="#000000" face="MS PGothic" size="3"><br></font></div><div><font color="#000000" face="MS PGothic" size="3">$B2?B4$h$m$7$/$*4j$$CW$7$^$9!#(B</font></div>

<div><br></div><div><font color="#000000" face="MS PGothic" size="3"><br></font></div></div><div><br></div><div><br></div>-- <br>Susumu ISHIGAMI
</div>