JDK-8061630 : G1 iterates over JNIHandles two times
Type:Bug
Component:hotspot
Sub-Component:gc
Affected Version:9
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2014-10-21
Updated:2015-10-20
Resolved:2014-10-23
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
The call to JNIHandles::weak_oops_do in g1CollectedHeap.cpp can be removed because is it also called by ReferenceProcessor::process_discovered_references via G1CollectedHeap::process_discovered_references, see ReferenceProcessor::process_phaseJNI.