Integrated: 8274286: Skip null for make_referent_alive in referenceProcessor

Albert Mingkun Yang ayang at openjdk.java.net
Tue Oct 5 14:36:13 UTC 2021


On Fri, 24 Sep 2021 13:42:14 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Simple change of avoiding a virtual call for null referent. With this change, two methods of processing the discovered list, `process_discovered_list_work` and `preclean_discovered_reflist`, share the same structure.
> 
> Test: hotspot_gc

This pull request has now been integrated.

Changeset: bb0bab57
Author:    Albert Mingkun Yang <ayang at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/bb0bab57a1ff447bfb41cfe10c91838a6812b93d
Stats:     24 lines in 1 file changed: 11 ins; 0 del; 13 mod

8274286: Skip null for make_referent_alive in referenceProcessor

Reviewed-by: kbarrett, tschatzl

-------------

PR: https://git.openjdk.java.net/jdk/pull/5682



More information about the hotspot-gc-dev mailing list