RFR: 8300295: [AIX] TestDaemonDestroy fails due to !is_primordial_thread assertion

Varada M duke at openjdk.org
Thu Jan 26 23:16:56 UTC 2023


The assertion failure with exit value 134 for the test TestDaemonDestroy.java is because when the JNI_CreateJavaVM is being called by main thread on AIX it prevents the jvm creation on the primordial thread on AIX. This is solved in such a way that when JNI_CreateJavaVM is called it runs in pthread thus enabling the creation of jvm. 

JBS issue for this test : [JDK-8300139](https://bugs.openjdk.org/browse/JDK-8300139l)

-------------

Commit messages:
 - 8300295: [AIX] TestDaemonDestroy fails due to !is_primordial_thread assertion

Changes: https://git.openjdk.org/jdk/pull/12006/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12006&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8300295
  Stats: 32 lines in 1 file changed: 31 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/12006.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12006/head:pull/12006

PR: https://git.openjdk.org/jdk/pull/12006


More information about the hotspot-runtime-dev mailing list