8133818: Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125

Test contributed by brutisso

Reviewed-by: tonyp, tschatzl
This commit is contained in:
Y. Srinivas Ramakrishna 2015-09-02 11:56:10 +02:00
parent dada9bc32c
commit 62ccb0305a
12 changed files with 145 additions and 48 deletions

View file

@ -88,6 +88,8 @@ void GCTracer::report_gc_reference_stats(const ReferenceProcessorStats& rps) con
send_reference_stats_event(REF_WEAK, rps.weak_count());
send_reference_stats_event(REF_FINAL, rps.final_count());
send_reference_stats_event(REF_PHANTOM, rps.phantom_count());
send_reference_stats_event(REF_CLEANER, rps.cleaner_count());
send_reference_stats_event(REF_JNI, rps.jni_weak_ref_count());
}
#if INCLUDE_SERVICES