Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8247532

Records deserialization is slow

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 15
    • 14, 15, 16
    • core-libs

    Backports

      Description

        Records deserialization is slow compared to equivalent classical classes. I created a JMH benchmark to se how it compares (ran it on JDK14) and it appears that records deserialization is about 16x slower and produces 7x garbage.

        Attachments

          Issue Links

            Activity

              People

                plevart Peter Levart
                plevart Peter Levart
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: