--- a/hotspot/src/share/vm/gc/shared/referenceProcessor.hpp Thu Apr 14 08:30:15 2016 +0200
+++ b/hotspot/src/share/vm/gc/shared/referenceProcessor.hpp Thu Apr 14 08:30:37 2016 +0200
@@ -412,6 +412,9 @@
// Discover a Reference object, using appropriate discovery criteria
bool discover_reference(oop obj, ReferenceType rt);
+ // Has discovered references that need handling
+ bool has_discovered_references();
+
// Process references found during GC (called by the garbage collector)
ReferenceProcessorStats
process_discovered_references(BoolObjectClosure* is_alive,