RFR: 8264051: Remove unused TRAPS parameters from runtime functions

Coleen Phillimore coleenp at openjdk.java.net
Tue Mar 23 16:45:52 UTC 2021


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.

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

Commit messages:
 - removed more TRAPS
 - 8264051: Remove unused TRAPS parameters from runtime functions

Changes: https://git.openjdk.java.net/jdk/pull/3157/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3157&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8264051
  Stats: 52 lines in 16 files changed: 0 ins; 17 del; 35 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3157.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3157/head:pull/3157

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


More information about the serviceability-dev mailing list