mem: Move eraseIfNullEntry to when holder is updated
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Fri, 21 Jun 2019 14:24:28 +0000 (16:24 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Fri, 2 Aug 2019 11:42:46 +0000 (11:42 +0000)
commit334b8377f35b183148dfda3a7a5d71bee2990b81
treed0ede20f1d39227fd0ba15bea70e26b8a929bbbc
parent2f1a08240f37c6c61f984ae263265f482a0e81b7
mem: Move eraseIfNullEntry to when holder is updated

The entry should only be tested for deletion when holder is updated.

Change-Id: I5a10b6fa876912709b7467860d43c23c60f38568
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19750
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/snoop_filter.cc