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

David Holmes dholmes at openjdk.org
Fri Feb 3 02:52:50 UTC 2023


On Thu, 2 Feb 2023 18:43:56 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 updated the pull request incrementally with one additional commit since the last revision:
> 
>   Added error handler

This seems functionally okay.

As I said previously there are similar tests that could be enabled for AIX and use the same mechanism. If there are in the same vicinity we may be able to add a helper file to factor this out and share it.

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

Marked as reviewed by dholmes (Reviewer).

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


More information about the hotspot-runtime-dev mailing list