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

[test] runtime/ElfDecoder/TestElfDirectRead.java requires longer timeout on ppc64

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b23

      Backports

        Description

        The test runtime/ElfDecoder/TestElfDirectRead.java test intentionally disables caching of Elf sections during symbol lookup with WhiteBox.disableElfSectionCache(). On platforms which do not use file descriptors instead of plain function pointers this slows down the lookup just a little bit, because all the symbols from an Elf file are still read consecutively after one 'fseek()' call. But on platforms with file descriptors like ppc64 big-endian, we get two 'fseek()' calls for each symbol read from the Elf file because reading the file descriptor table is nested inside the loop which reads the symbols. This really trashes the I/O system and considerable slows down the test, so we need an extra long timeout setting.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  simonis Volker Simonis
                  Reporter:
                  simonis Volker Simonis
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: