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

TestDifferentProtectionDomains runs into timeout in client VM

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      17
    • Resolved In Build:
      b05

      Backports

        Description

        The tier1 jtreg test runtime/Nestmates/protectionDomain/TestDifferentProtectionDomains.java times out if executed in a client VM, in both release and debug builds.

        The test tries to compile a method using the WhiteBox with optimization level 4, which is not available in client VMs. The WhiteBox only prints out a warning on stderr, and the call to enqueueMethodForCompilation succeeds. After that, the test case goes into an endless loop to wait for the compilation to finish, which never happens, because the method is not enqueued for compilation.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                cgo Christoph Göttschkes
                Reporter:
                cgo Christoph Göttschkes
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: