Commit 1fd29bc
committed
xds: Use tracing GC in XdsDepManager
Reference counting doesn't release cycles, so swap to a tracing garbage
collector. This greatly simplifies the code as well, as diffing is no
longer necessary. (If vanilla reference counting was used, diffing
wouldn't have been necessary either as you just increment all the new
objects and decrement the old ones. But that doesn't work when use a set
instead of an integer.)1 parent dc192f5 commit 1fd29bc
File tree
3 files changed
+210
-266
lines changed- xds/src
- main/java/io/grpc/xds
- test/java/io/grpc/xds
3 files changed
+210
-266
lines changed
0 commit comments