<div dir="ltr">Can this be patched? Because we see this very often in our environment.<div><br></div><div>Regards</div><div>Avinash</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 4, 2015 at 12:46 PM, charlie hunt <span dir="ltr"><<a href="mailto:charlie.hunt@oracle.com" target="_blank">charlie.hunt@oracle.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Filed as: <a href="https://bugs.openjdk.java.net/browse/JDK-8072498" target="_blank">https://bugs.openjdk.java.net/browse/JDK-8072498</a><span class="HOEnZb"><font color="#888888"><div><br></div><div>charlie</div></font></span><div><div class="h5"><div><br><div><blockquote type="cite"><div>On Feb 3, 2015, at 7:03 PM, Srinivas Ramakrishna <<a href="mailto:ysr1729@gmail.com" target="_blank">ysr1729@gmail.com</a>> wrote:</div><br><div><div dir="auto"><div>Yes, unfortunately, I don't think Jni refs procsing is parallelized, but should be. Please file a bug...</div><div><br></div><div>--- Ramki</div><div><br><br>ysr1729</div><div><br>On Feb 3, 2015, at 16:19, Bill Hastings <<a href="mailto:bllhastings@gmail.com" target="_blank">bllhastings@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Yes <span style="font-size:12.8000001907349px">-XX:+ParallelRefProcEnabled</span> is enabled.<div><br></div><div>Thanks</div><div>Bill.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 3, 2015 at 4:09 PM, charlie hunt <span dir="ltr"><<a href="mailto:charlie.hunt@oracle.com" target="_blank">charlie.hunt@oracle.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>You might try enabling
-XX:+ParallelRefProcEnabled.<br>
<br>
This will enable multi-threaded reference processing.<br>
<br>
User CPU time vs real time coupled with the JNI Weak Reference
time suggests single threaded reference processing.<br>
<br>
hths,<br>
<br>
charlie<div><div><br>
<br>
On 02/03/2015 05:20 PM, Bill Hastings wrote:<br>
</div></div></div><div><div>
<blockquote type="cite">
<div dir="ltr">Periodically get this in my CMS GC log:<br>
<br>
2015-02-03T03:24:27.419-0800: 17917.047: [Rescan (parallel) ,
0.0625400 secs]2015-02-03T03:24:27.482-0800: 17917.110: [weak
refs processing2015-02-03T03:24:27.482-0800: 17917.110:
[SoftReference, 1 refs, 0.0010820
secs]2015-02-03T03:24:27.483-0800: 17917.111: [WeakReference, 0
refs, 0.0015340 secs]2015-02-03T03:24:27.484-0800: 17917.112:
[FinalReference, 0 refs, 0.0007930
secs]2015-02-03T03:24:27.485-0800: 17917.113: [PhantomReference,
0 refs, 0.0008860 secs]2015-02-03T03:24:27.486-0800: 17917.114:
[<b>JNI Weak Reference, 6.1104040 secs], 6.1148360 secs</b>]2015-02-03T03:24:33.596-0800:
17923.225: [scrub string table, 0.0006670 secs] [1 CMS-remark:
531682K(5242880K)] 1827698K(7759488K), 6.1785190 secs] [Times:
user=7.22 sys=0.00, real=6.18 secs]
<div><br>
</div>
<div>JNI Weak References processing take several seconds. How do
I remedy this? I use JNA but I do not use any WeakReference
classes in my application.</div>
<div><br>
</div>
<div>Regards<br>
</div>
<div>Bill</div>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>
</div></blockquote></div></div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>