Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Initialize eagerly to fix a failing test
  • Loading branch information
JoshRosen committed May 27, 2015
commit 00b402edb790a0d2eac8f6afda2a748563afccfc
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ private[spark] class KryoSerializerInstance(ks: KryoSerializer) extends Serializ
* pool of size one. SerializerInstances are not thread-safe, hence accesses to this field are
* not synchronized.
*/
@Nullable private[this] var cachedKryo: Kryo = null
@Nullable private[this] var cachedKryo: Kryo = borrowKryo()

/**
* Borrows a [[Kryo]] instance. If possible, this tries to re-use a cached Kryo instance;
Expand Down