You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2021/12/07 21:39:20 UTC

[GitHub] [geode] kirklund commented on a change in pull request #7167: GEODE-9758: Add new internal serialization filter API

kirklund commented on a change in pull request #7167:
URL: https://github.com/apache/geode/pull/7167#discussion_r764381649



##########
File path: geode-serialization/src/main/java/org/apache/geode/internal/serialization/filter/SanctionedSerializables.java
##########
@@ -62,4 +75,22 @@
     }
     return result;
   }
+
+  public static Set<String> loadSanctionedClassNames(
+      Iterable<SanctionedSerializablesService> services) {
+    Set<String> sanctionedClasses = new HashSet<>(650);

Review comment:
       Yeah, it was originally being initialized to 200 in size. There are almost 650 sanctioned classes in Geode now, so this is a better initial size.




-- 
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: notifications-unsubscribe@geode.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org