<div dir="ltr"><div>suga $B$G$9!#(B<br><br></div>1.1.31-SNAPSHOT $B$r:n@.$7$FCV$-$^$7$?!#(B<br>$B$3$l$G$$$+$,$G$7$g$&$+!#(B<br><div><div><br><a href="http://maven.seasar.org/maven2-snapshot/org/seasar/mayaa/mayaa/1.1.31-SNAPSHOT/mayaa-1.1.31-20130204.131449-1.jar">http://maven.seasar.org/maven2-snapshot/org/seasar/mayaa/mayaa/1.1.31-SNAPSHOT/mayaa-1.1.31-20130204.131449-1.jar</a><br>
</div><div><br></div><div>$B%Q%U%)!<%^%s%9$K4X$7$F$O!"Ev;~$H4D6-$,A4A30[$J$k$?$a!"$^$?7WB,$7$FLdBj$K$J$i$J$$8B$j(B<br>$BM%@hEY$rMn$H$7$FNI$$$H9M$($F$$$^$9!#(B<br><br><br><br></div></div></div><div class="gmail_extra"><br clear="all"><div>-- <br>suga ( <a href="mailto:ko.suga@gmail.com">ko.suga@gmail.com</a> )</div>

<br><br><div class="gmail_quote">2013/2/4 Susumu ISHIGAMI <span dir="ltr">&lt;<a href="mailto:susumu.ishigami@gmail.com" target="_blank">susumu.ishigami@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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>HashMap$B$N%3%s%+%l%s%H$NIT6q9g$i$7$-2U=j$,8+<u$1$i$l$?$?$a!"(B</div><div>$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 style="white-space:pre-wrap">        </span>at org.apache.commons.collections.map.AbstractHashedMap.getEntry(AbstractHashedMap.java:433)</div>


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


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


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


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


<div><span style="white-space:pre-wrap">        </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>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;_cache</div><div>$B$NDj5A$O(B</div><div>

<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" target="_blank">http://commons.apache.org/collections/api-3.1/org/apache/commons/collections/map/ReferenceMap.html</a><br>

</div>
<div><br></div><div><span style="font-size:medium;font-family:&#39;MS PGothic&#39;">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" target="_blank"><code>Collections.synchronizedMap</code></a><span style="font-size:medium;font-family:&#39;MS PGothic&#39;">&nbsp;to provide synchronized access to a&nbsp;</span><code style>ReferenceMap</code><span style="font-size:medium;font-family:&#39;MS PGothic&#39;">. Remember that synchronization will not stop the garbage collecter removing entries.</span><br>


</div><div><span style="font-size:medium;font-family:&#39;MS PGothic&#39;"><br></span></div><div><span style="font-size:medium;font-family:&#39;MS PGothic&#39;">$B$H$$$&5-:\$5$l$F$$$^$9!#(B</span></div>
<div>
<span style="font-size:medium;font-family:&#39;MS PGothic&#39;"><br></span></div><div><span style="font-size:medium;font-family:&#39;MS PGothic&#39;">$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>
<span class="HOEnZb"><font color="#888888">

<div><br></div><div><font color="#000000" face="MS PGothic" size="3"><br></font></div></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div>-- <br>Susumu ISHIGAMI
</font></span></div>
<br>_______________________________________________<br>
mayaa-user mailing list<br>
<a href="mailto:mayaa-user@ml.seasar.org">mayaa-user@ml.seasar.org</a><br>
<a href="https://ml.seasar.org/mailman/listinfo/mayaa-user" target="_blank">https://ml.seasar.org/mailman/listinfo/mayaa-user</a><br></blockquote></div><br></div>