Uploaded image for project: 'Apache DirectMemory'
  1. Apache DirectMemory
  2. DIRECTMEMORY-129

Kryo serializer usage is not thread safe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.1-incubating
    • 0.2
    • Serializers
    • None

    Description

      KryoSerializer uses a instance level Kryo object which is accessed concurrently. As per Kryo 2.x docs [1] the Kryo object is not threadsafe. As a fix one should use a pool of Kryo instances

      [1] https://code.google.com/p/kryo/#Threading

      Attachments

        1. DIRECTMEMORY-129-1.patch
          5 kB
          Chetan Mehrotra

        Activity

          People

            teofili Tommaso Teofili
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: