RFR: 8264051: Remove unused TRAPS parameters from runtime functions

Ioi Lam iklam at openjdk.java.net
Tue Mar 23 17:33:43 UTC 2021


On Tue, 23 Mar 2021 16:40:44 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This change removes the TRAPS parameter from compute_modifier_flags(), lookup_instance_method_in_klasses and nest_host_error.
> 
> There's a progressive effort to remove cases where the last parameter of a function is THREAD, and it's unclear why it is ignoring an exception or whether an exception is expected, if it doesn't subsequently have a check for HAS_PENDING_EXCEPTION.
> 
> Tested locally with tier1 tests and tier1 tests on 4 Oracle platforms in progress.

LGTM. Thanks for doing the cleanup.

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

Marked as reviewed by iklam (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/3157


More information about the serviceability-dev mailing list