Integrated: 8292202: modules_do is called without Module_lock
Calvin Cheung
ccheung at openjdk.org
Thu Sep 22 03:40:34 UTC 2022
On Thu, 15 Sep 2022 18:01:33 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:
> Please review this fix which involves:
>
> - acquire the `Module_lock` before calling `modules_do`;
> - move the call to `ClassLoader::setup_module_search_path `out of `do_module`;
> - save the module paths in a `GrowableArray` in `do_module` for calling `ClassLoader::setup_module_search_path`.
>
> Passed tiers 1 - 3 testing.
This pull request has now been integrated.
Changeset: 47f233ac
Author: Calvin Cheung <ccheung at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/47f233acec2aec449f001ea3a578cead7f1fc0d9
Stats: 21 lines in 2 files changed: 16 ins; 0 del; 5 mod
8292202: modules_do is called without Module_lock
Reviewed-by: iklam, coleenp
-------------
PR: https://git.openjdk.org/jdk/pull/10291
More information about the hotspot-runtime-dev
mailing list