<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 class="h5"><br>
<br>
On 02/03/2015 05:20 PM, Bill Hastings wrote:<br>
</div></div></div><div><div class="h5">
<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>