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

Add JFR events for notable serialization situations

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 18
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
      None

      Description

      During serialization, the serialization mechanism may locate a serialization-related method on a user class, say, readObject, but not call the method since one or more aspects of the method are improperly declared, such as bad modifiers.

      Such situations are likely unintended errors in the declaration of the methods and may cause surprising or unwanted behavior at runtime. JFR events for such situations could allow better debugging.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              darcy Joe Darcy
              Reporter:
              darcy Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: