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

OldObjectSample event causing bloat in the class constant pool in JFR recording

    XMLWordPrintable

Details

    • jfr
    • b28
    • Not verified

    Backports

      Description

        Allocation heavy applications with OldObjectSample enabled will end up storing many duplicates of the same klass artifact, creating a huge bloat in the class area of the recording constant pool (see the akka_6.jfr.zip attachment).

        While this is just annoying when the recording does not have the max size set it becomes a real problem with max size - the class constant pool will push out the useful data eventually (again, see the akka_6.jfr.zip attachment).

        Attachments

          Issue Links

            Activity

              People

                mgronlun Markus Grönlund
                jbachorik Jaroslav Bachorík
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: