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

David Holmes dholmes at openjdk.org
Wed Feb 1 05:59:51 UTC 2023


On Wed, 1 Feb 2023 05:27:14 GMT, Varada M <duke at openjdk.org> wrote:

>> 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-8300295](https://bugs.openjdk.org/browse/JDK-8300295)
>
> Varada M has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
> 
>   8300295: [AIX] TestDaemonDestroy fails due to !is_primordial_thread assertion

It is unfortunate this is necessary.

Other tests, e.g. runtime/jni/CalleeSavedRegisters, are just disabled on AIX. If this test is to be fixed then others probably should too.

Also please address the style nits.

Thanks.

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

Changes requested by dholmes (Reviewer).

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


More information about the hotspot-runtime-dev mailing list