RFR: 8316131: runtime/cds/appcds/TestParallelGCWithCDS.java fails with JNI error [v2]

Calvin Cheung ccheung at openjdk.org
Mon Jun 3 19:41:32 UTC 2024


On Mon, 3 Jun 2024 04:43:57 GMT, David Holmes <dholmes at openjdk.org> wrote:

> This will treat any "VM exit during initialization" error as a pass for this test. That seems rather broad but I'm not sure we can really do better unless all potential exit paths are uncovered. That said IIUC the original problem with no exception being thrown has been fixed, so perhaps it is only the new case you discovered that really needs to be allowed for?

[JDK-8316132](https://bugs.openjdk.org/browse/JDK-8316132) addresses one incident of the problem. The test I did was an attempt to reproduce similar failure mode in this bug but I couldn't trigger a JNI error. So I think this is the best we can do for now.

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

PR Comment: https://git.openjdk.org/jdk/pull/19506#issuecomment-2145976371


More information about the hotspot-runtime-dev mailing list