lukecwik commented on code in PR #24388:
URL: https://github.com/apache/beam/pull/24388#discussion_r1035238519


##########
sdks/java/harness/src/main/java/org/apache/beam/fn/harness/PrecombineGroupingTable.java:
##########
@@ -189,16 +184,10 @@ <K> WindowedGroupingTableKey(
         K key,
         Collection<? extends BoundedWindow> windows,
         Coder<K> keyCoder,
-        SizeEstimator<K> keySizer) {
+        SizeEstimator sizer) {

Review Comment:
   Caches::weigh doesn't care about type. It relies on Jamm which uses java's 
instrumentation API to measure the size of the object in memory.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to