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

[AIX] Use pthreads to avoid JNI_createVM call from primordial thread

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 21
    • None
    • hotspot
    • b10
    • aix

    Description

      Created on behalf of Varada M

      Currently several tests have `@require os.family != "aix"` because the tests call JNI_createVM. There are issues which prevent jvm creation on the primordial thread on AIX. However, these tests can be refactored to run in pthreads to enable them to test AIX as well.

      The following tests can benefit from this change:
      test/jdk/jni/nullCaller/NullCallerTest.java
      test/jdk/java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java
      test/hotspot/jtreg/runtime/jni/CalleeSavedRegisters/FPRegs.java
      test/hotspot/jtreg/runtime/jni/daemonDestroy/TestDaemonDestroy.java
      test/lib-test/jdk/test/lib/process/TestNativeProcessBuilder.java

      Attachments

        Issue Links

          Activity

            People

              tsteele Tyler Steele
              tsteele Tyler Steele
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: