Integrated: 8308764: Reporting errors from create_vm may crash
David Holmes
dholmes at openjdk.org
Thu Jun 8 03:32:59 UTC 2023
On Wed, 31 May 2023 02:51:03 GMT, David Holmes <dholmes at openjdk.org> wrote:
> There are more details in the bug report but the basic fix is to not delete the main_thread so that it is available to report the exception that caused VM initialization to fail. Added some additional comments too.
>
> Testing:
> - basic fault injection to test non-exception exit paths both before and after Universe:;is_fully_initialized() which exercises the failing use of JavaThread::current()
> - tiers 1-3 sanity testing
>
> Thanks.
This pull request has now been integrated.
Changeset: 6646272a
Author: David Holmes <dholmes at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/6646272a055f8e6c3955bed49d298b9eda1a805b
Stats: 10 lines in 2 files changed: 7 ins; 0 del; 3 mod
8308764: Reporting errors from create_vm may crash
Reviewed-by: stuefe, coleenp, kbarrett
-------------
PR: https://git.openjdk.org/jdk/pull/14238
More information about the hotspot-runtime-dev
mailing list