Integrated: 8264126: Remove TRAPS/THREAD parameter for class loading functions
Coleen Phillimore
coleenp at openjdk.java.net
Fri Mar 26 13:17:26 UTC 2021
On Wed, 24 Mar 2021 16:20:30 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> find_constrained_instance_or_array_klass only passes THREAD so that it can be used in a MutexLocker for SystemDictionary_lock. This can use the MutexLocker that gets Thread::current() without any harm to performance.
>
> The other functions add_loader_constraint, record_linking_constraints, and check_signature_loaders fall out from that.
>
> check_signature_loaders should throw an exception but it unfortunately makes the caller construct the exception message so it doesn't.
>
> Also: is_shared_class_visible{_impl}
>
> Tested with tier1 on 4 Oracle platforms (in progress)
This pull request has now been integrated.
Changeset: 507b690f
Author: Coleen Phillimore <coleenp at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/507b690f
Stats: 60 lines in 11 files changed: 2 ins; 6 del; 52 mod
8264126: Remove TRAPS/THREAD parameter for class loading functions
Reviewed-by: ccheung, iklam, dholmes
-------------
PR: https://git.openjdk.java.net/jdk/pull/3176
More information about the hotspot-dev
mailing list