Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8230872 sun/tools/jhsdb/JShellHeapDumpTest.java fails with RuntimeException: Test ERROR java.io.EOFException
  3. JDK-8231288

"jhsdb jmap" test needed to reproduce issues that used to be reproduced by JShellHeapDumpTest

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b18

      Description

      JShellHeapDumpTest seems to uncover a number of JMap bugs that seem to be related to the underlying java program mutating while trying to produce the hprof file. See the parent of this CR. However, after fixes for JDK-8228625 are done, you will no longer see these failures (or at best they will be very very rare) because the test will be allowing the jshell process to run until it reaches the user input prompt, thus the process will essentially be asleep, making for a safer state for JMap to work in. We need to add another test very similar to JShellHeapDumpTest, but without the 2 second delay, so these problems reproduce again. The test will need to be immediately problem listed because it will cause too many failures.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cjplummer Chris Plummer
              Reporter:
              cjplummer Chris Plummer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: