OSDN Git Service

Expect null referent in DequeuePendingReference().
authorHiroshi Yamauchi <yamauchi@google.com>
Mon, 14 Sep 2015 22:10:50 +0000 (15:10 -0700)
committerHiroshi Yamauchi <yamauchi@google.com>
Tue, 15 Sep 2015 17:33:03 +0000 (10:33 -0700)
commitd2bb5ba17c5760aee5347de3c32b4f2f47a33d54
tree16cdbfc9f8a2c87b1453a63b882b28ec2c733c72
parent5da1ea29be0d5f4e8fc03c3c509f0474b53affd2
Expect null referent in DequeuePendingReference().

Following up on CL 170735.

It's possible that the referent may potentially be cleared which would
cause a check failure. Avoid that.

Bug: 12687968
Bug: 23896462
Change-Id: I8ccc5936b61ceacf250624681e65307f23ce0405
runtime/gc/reference_queue.cc