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

Records deserialization is slow

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved: