-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 19
-
Component/s: hotspot
-
b19
In ` ReferenceProcessor::discover_reference`:
```
DiscoveredList* list = get_discovered_list(rt);
if (list == NULL) {
return false; // nothing special needs to be done
}
```
`get_discovered_list` returns null iff ref-type is `REF_OTHER`, which is impossible for an instance of non-strong ref to have.
```
DiscoveredList* list = get_discovered_list(rt);
if (list == NULL) {
return false; // nothing special needs to be done
}
```
`get_discovered_list` returns null iff ref-type is `REF_OTHER`, which is impossible for an instance of non-strong ref to have.