kiszk commented on a change in pull request #25470: [SPARK-28751][Core][WIP] 
Improve java serializer deserialization performance
URL: https://github.com/apache/spark/pull/25470#discussion_r317519421
 
 

 ##########
 File path: core/src/main/scala/org/apache/spark/serializer/JavaSerializer.scala
 ##########
 @@ -140,21 +171,24 @@ private[spark] class JavaSerializerInstance(
 class JavaSerializer(conf: SparkConf) extends Serializer with Externalizable {
   private var counterReset = conf.get(SERIALIZER_OBJECT_STREAM_RESET)
   private var extraDebugInfo = conf.get(SERIALIZER_EXTRA_DEBUG_INFO)
+  private var cacheResolvedClasses = 
conf.get(JAVA_SERIALIZER_CACHE_RESOLVED_CLASSES)
 
 Review comment:
   Can we use `val` for these three values?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to